Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 112.4 kB / 16.42 MB, free: 6.469 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.001245/0.001245, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.645/2.645, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 63.91 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9747/0.9762, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001968/0.9783, allocations: 0.5814 MB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002817/0.9786, allocations: 39.86 kB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.9786, allocations: 4 kB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.9787, allocations: 4 kB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.506e-05/0.9787, allocations: 3.938 kB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.9789, allocations: 11.98 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.872e-05/0.979, allocations: 11.98 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.9791, allocations: 0 / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.469e-05/0.9791, allocations: 7.938 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.9792, allocations: 0 / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.9792, allocations: 0 / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.9793, allocations: 15.98 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.667e-05/0.9793, allocations: 4 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.9794, allocations: 15.92 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.9795, allocations: 23.91 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.9795, allocations: 4 kB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9795, allocations: 0 / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.9795, allocations: 0 / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004038/0.9799, allocations: 345.3 kB / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.98, allocations: 8.031 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.98, allocations: 0.9375 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.9801, allocations: 168.1 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.9802, allocations: 8.375 kB / 1.21 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.9802, allocations: 384 / 1.21 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.9803, allocations: 58.25 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.9803, allocations: 192 / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.9804, allocations: 7.922 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/0.9804, allocations: 8 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.377e-05/0.9805, allocations: 23.98 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.9808, allocations: 264.7 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.233e-05/0.9809, allocations: 22.58 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.9809, allocations: 8.859 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.9809, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.981, allocations: 38.56 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.981, allocations: 0 / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001887/0.9812, allocations: 71.23 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.9812, allocations: 77.11 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.9813, allocations: 122 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.9814, allocations: 29.7 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.9814, allocations: 97.67 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.9814, allocations: 11.94 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.9815, allocations: 29.56 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.9816, allocations: 314.8 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.9816, allocations: 15.98 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.386e-05/0.9817, allocations: 58.86 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.9818, allocations: 130.1 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9818, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001649/0.982, allocations: 123.2 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.9821, allocations: 40.3 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.9821, allocations: 0 / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.9821, allocations: 4 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.9822, allocations: 15.98 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.9822, allocations: 0 / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.508e-05/0.9823, allocations: 7.906 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.9823, allocations: 11.94 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001013/0.9824, allocations: 147.5 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.9824, allocations: 0 / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.642e-05/0.9824, allocations: 11.53 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.9825, allocations: 0 / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9825, allocations: 0 / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.9825, allocations: 81.09 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.9825, allocations: 7.938 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.573e-05/0.9826, allocations: 0 / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.9826, allocations: 0 / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001435/0.9828, allocations: 198 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001837/0.9829, allocations: 252.5 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.255e-05/0.983, allocations: 0 / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.448e-05/0.9831, allocations: 99.66 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of Backend: time 4.6e-07/0.9831, allocations: 0 / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005289/0.9836, allocations: 162.1 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005234/0.9841, allocations: 0.6146 MB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of Templates: time 0.002976/0.9871, allocations: 0.537 MB / 1.213 GB, free: 8.211 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches