Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002145/0.002145, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002659/0.002659, allocations: 189.4 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.866/2.866, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 67.88 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8663/0.8684, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003704/0.8721, allocations: 1.623 MB / 1.276 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.8732, allocations: 0.5081 MB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.8733, allocations: 4 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.8734, allocations: 7.875 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.005e-05/0.8734, allocations: 15.8 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.8737, allocations: 39.95 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.8738, allocations: 87.64 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.874, allocations: 28.2 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.923e-05/0.8741, allocations: 47.78 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.533e-05/0.8742, allocations: 39.84 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.8742, allocations: 4 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.21e-05/0.8743, allocations: 12 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.8743, allocations: 23.91 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.13e-05/0.8744, allocations: 43.73 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.8746, allocations: 86.31 kB / 1.277 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8746, allocations: 0 / 1.277 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.345e-06/0.8746, allocations: 0 / 1.277 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.8746, allocations: 0 / 1.277 GB, free: 1.98 MB / 0.9669 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.0006615/0.8753, allocations: 410.9 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.8753, allocations: 12.03 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.8754, allocations: 12.84 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.8756, allocations: 192.2 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.8756, allocations: 8.375 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.8756, allocations: 8.375 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.8759, allocations: 113.9 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.8759, allocations: 4 kB / 1.277 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.8759, allocations: 4 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.8759, allocations: 0 / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.8762, allocations: 95.88 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006785/0.8769, allocations: 380.6 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.877, allocations: 58.48 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.8771, allocations: 48.95 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.8772, allocations: 7.938 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.8772, allocations: 30.56 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.8772, allocations: 0 / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004986/0.8777, allocations: 169.5 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.8778, allocations: 55.34 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.8779, allocations: 140 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.8779, allocations: 25.7 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.985e-05/0.878, allocations: 108.2 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.8781, allocations: 15.8 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.8781, allocations: 29.7 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.8783, allocations: 314.8 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.8784, allocations: 39.97 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.8785, allocations: 39.97 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.8787, allocations: 88.8 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8787, allocations: 4 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002848/0.879, allocations: 125.6 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.879, allocations: 11.88 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.879, allocations: 0 / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.879, allocations: 0 / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.8792, allocations: 19.92 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.8792, allocations: 4 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.8793, allocations: 8.422 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.8793, allocations: 12 kB / 1.279 GB, free: 15.21 MB / 0.9825 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 0.0001043/0.8794, allocations: 119.4 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.8794, allocations: 7.953 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.8798, allocations: 142.3 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.8798, allocations: 11.92 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8798, allocations: 0 / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8798, allocations: 4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.8801, allocations: 213.5 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8801, allocations: 0 / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.8802, allocations: 15.98 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8802, allocations: 0 / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.8802, allocations: 4 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.8802, allocations: 3.938 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.8802, allocations: 0 / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.8806, allocations: 223.4 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.8806, allocations: 89 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.8807, allocations: 0 / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.8808, allocations: 11.92 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.8808, allocations: 7.984 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.8808, allocations: 8 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.867e-05/0.8809, allocations: 101.1 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8809, allocations: 4 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002379/0.8811, allocations: 19.94 kB / 1.28 GB, free: 14.14 MB / 0.9825 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.0001839/0.8813, allocations: 103.8 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003015/0.8816, allocations: 91.94 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8816, allocations: 0 / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.8817, allocations: 51.91 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.882, allocations: 8 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.8824, allocations: 231.2 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.8828, allocations: 0.7002 MB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.8829, allocations: 19.97 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.883, allocations: 19.42 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.883, allocations: 4 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of Templates: time 0.00359/0.8866, allocations: 0.7318 MB / 1.282 GB, free: 12.14 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.962572259828448]