Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001085, allocations: 103.5 kB / 16.35 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001117, allocations: 193.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.321/2.321, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.00136, allocations: 59.03 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3056, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002441/0.308, allocations: 1.614 MB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007192/0.3088, allocations: 0.4995 MB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.3088, allocations: 4 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.322e-05/0.3089, allocations: 11.86 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.921e-05/0.309, allocations: 15.81 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.3092, allocations: 39.88 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3093, allocations: 83.72 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3095, allocations: 40.2 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.768e-05/0.3095, allocations: 35.91 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.3096, allocations: 39.78 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.3097, allocations: 4 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.903e-05/0.3097, allocations: 19.98 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.3098, allocations: 19.92 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.3098, allocations: 27.81 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.3099, allocations: 107.5 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3099, allocations: 4 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.202e-06/0.31, allocations: 0 / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.31, allocations: 0 / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004554/0.3104, allocations: 395.1 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.3105, allocations: 12.03 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.3105, allocations: 12.84 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3107, allocations: 188.1 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3107, allocations: 8.375 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.3107, allocations: 4.375 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.3109, allocations: 116.3 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3109, allocations: 3.938 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.311, allocations: 4 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.311, allocations: 0 / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.3112, allocations: 95.94 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.3117, allocations: 380.5 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.3118, allocations: 58.55 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.312, allocations: 52.89 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.312, allocations: 7.984 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.312, allocations: 38.56 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 2.254e-06/0.312, allocations: 3.984 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004022/0.3124, allocations: 165.4 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.3125, allocations: 55.41 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.3126, allocations: 137.7 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3126, allocations: 25.7 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.3126, allocations: 111.9 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.3127, allocations: 15.89 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.3127, allocations: 21.7 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.3128, allocations: 318.8 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-05/0.3129, allocations: 35.97 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-05/0.313, allocations: 43.95 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.3132, allocations: 88.81 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3132, allocations: 0 / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002397/0.3135, allocations: 129.5 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3135, allocations: 10.5 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.3135, allocations: 0 / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.3135, allocations: 0 / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3136, allocations: 19.92 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3137, allocations: 4 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.868e-05/0.3137, allocations: 15.98 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.3137, allocations: 4 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.196e-05/0.3138, allocations: 125.8 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.3139, allocations: 3.906 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.3142, allocations: 146.7 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3142, allocations: 7.938 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3142, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3142, allocations: 64 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.3144, allocations: 213.5 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3144, allocations: 4 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.695e-05/0.3145, allocations: 15.98 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3145, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3145, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3145, allocations: 3.938 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3145, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.3148, allocations: 231.3 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.3149, allocations: 81.02 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3149, allocations: 4 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.315, allocations: 11.92 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.315, allocations: 11.98 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3151, allocations: 7.875 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.3151, allocations: 107.3 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3151, allocations: 0 / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002204/0.3154, allocations: 12 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001142/0.3155, allocations: 99.23 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000263/0.3157, allocations: 103.9 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3158, allocations: 0 / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.3159, allocations: 51.97 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.3161, allocations: 4 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.3165, allocations: 211.2 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.3167, allocations: 0.7002 MB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.821e-05/0.3168, allocations: 15.98 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.3168, allocations: 23.36 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3168, allocations: 0 / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of Templates: time 0.002504/0.3193, allocations: 0.7154 MB / 1.034 GB, free: 9.73 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches