Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 159.7 kB / 23.01 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.873/2.873, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003317/0.003317, allocations: 71.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8706/0.8739, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003707/0.8776, allocations: 2.403 MB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002346/0.88, allocations: 1.624 MB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.8801, allocations: 6.688 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009557/0.8811, allocations: 321.9 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0006088/0.8817, allocations: 268.9 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.8823, allocations: 204.9 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.8827, allocations: 414.2 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.8828, allocations: 48.05 kB / 1.192 GB, free: 12.92 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.883, allocations: 168.9 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.8832, allocations: 173.1 kB / 1.192 GB, free: 12.78 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.046e-05/0.8833, allocations: 19.19 kB / 1.192 GB, free: 12.78 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.8835, allocations: 88.44 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.8836, allocations: 135.8 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.8838, allocations: 142.1 kB / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.8844, allocations: 0.5222 MB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8844, allocations: 1.125 kB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8844, allocations: 0 / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.086e-06/0.8844, allocations: 0 / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001075/0.8854, allocations: 0.7892 MB / 1.194 GB, free: 11.76 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.8855, allocations: 9.344 kB / 1.194 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.8856, allocations: 64.94 kB / 1.194 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.8861, allocations: 377.9 kB / 1.194 GB, free: 11.45 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.8861, allocations: 18.52 kB / 1.194 GB, free: 11.44 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.8861, allocations: 11.23 kB / 1.194 GB, free: 11.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.8864, allocations: 144.8 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.8864, allocations: 0.75 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.8864, allocations: 5.125 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.8864, allocations: 6.5 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.8866, allocations: 72.86 kB / 1.194 GB, free: 11.31 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.8874, allocations: 0.4999 MB / 1.195 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.8877, allocations: 119 kB / 1.195 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.8878, allocations: 51.92 kB / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.8878, allocations: 6.188 kB / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.888, allocations: 139.9 kB / 1.195 GB, free: 10.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.888, allocations: 0 / 1.195 GB, free: 10.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0005122/0.8885, allocations: 249.8 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.8885, allocations: 60.69 kB / 1.195 GB, free: 10.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00078/0.8893, allocations: 0.7003 MB / 1.196 GB, free: 10.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.8893, allocations: 36.45 kB / 1.196 GB, free: 10.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.8895, allocations: 274.7 kB / 1.196 GB, free: 10.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.8895, allocations: 37.62 kB / 1.197 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-05/0.8896, allocations: 59.17 kB / 1.197 GB, free: 10.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.8897, allocations: 374 kB / 1.197 GB, free: 9.672 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.8899, allocations: 75.02 kB / 1.197 GB, free: 9.648 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.89, allocations: 175.3 kB / 1.197 GB, free: 9.512 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.8903, allocations: 141.5 kB / 1.197 GB, free: 9.441 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8903, allocations: 0 / 1.197 GB, free: 9.441 MB / 1.076 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004072/0.8907, allocations: 278.7 kB / 1.198 GB, free: 9.312 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.8907, allocations: 6.375 kB / 1.198 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8907, allocations: 5 kB / 1.198 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.8907, allocations: 2.938 kB / 1.198 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.8909, allocations: 35.86 kB / 1.198 GB, free: 9.305 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.8909, allocations: 5.031 kB / 1.198 GB, free: 9.301 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.891, allocations: 23.23 kB / 1.198 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.8911, allocations: 13.88 kB / 1.198 GB, free: 9.285 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001801/0.8913, allocations: 207.2 kB / 1.198 GB, free: 9.141 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.8913, allocations: 61.88 kB / 1.198 GB, free: 9.105 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004006/0.8917, allocations: 228.4 kB / 1.198 GB, free: 9 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.8917, allocations: 5.125 kB / 1.198 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.8917, allocations: 1.062 kB / 1.198 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.8917, allocations: 0.75 kB / 1.198 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.892, allocations: 295.5 kB / 1.198 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.892, allocations: 5.188 kB / 1.198 GB, free: 8.805 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.012e-05/0.8921, allocations: 14.23 kB / 1.198 GB, free: 8.801 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.8921, allocations: 0.9688 kB / 1.198 GB, free: 8.801 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.8921, allocations: 3.359 kB / 1.198 GB, free: 8.801 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.8921, allocations: 5.031 kB / 1.198 GB, free: 8.797 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.8921, allocations: 0.6562 kB / 1.198 GB, free: 8.797 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.8924, allocations: 246.5 kB / 1.199 GB, free: 8.652 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.8925, allocations: 58.02 kB / 1.199 GB, free: 8.613 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.8926, allocations: 3.484 kB / 1.199 GB, free: 8.613 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.8927, allocations: 17.12 kB / 1.199 GB, free: 8.605 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.8928, allocations: 19.92 kB / 1.199 GB, free: 8.602 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.8928, allocations: 6.406 kB / 1.199 GB, free: 8.602 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005158/0.8933, allocations: 482.7 kB / 1.199 GB, free: 8.41 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8933, allocations: 0 / 1.199 GB, free: 8.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000335/0.8936, allocations: 71.53 kB / 1.199 GB, free: 8.395 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001597/0.8952, allocations: 461.9 kB / 1.2 GB, free: 8.184 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.8956, allocations: 156.7 kB / 1.2 GB, free: 8.137 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8956, allocations: 1.125 kB / 1.2 GB, free: 8.137 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.8957, allocations: 58.92 kB / 1.2 GB, free: 8.121 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.8962, allocations: 98.53 kB / 1.2 GB, free: 8.078 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.8974, allocations: 0.8743 MB / 1.201 GB, free: 7.605 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.8977, allocations: 270.3 kB / 1.201 GB, free: 7.496 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.8978, allocations: 49.75 kB / 1.201 GB, free: 7.488 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/0.8979, allocations: 31.45 kB / 1.201 GB, free: 7.48 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.8979, allocations: 0 / 1.201 GB, free: 7.48 MB / 1.076 GB Notification: Performance of Templates: time 0.01039/0.9083, allocations: 4.587 MB / 1.206 GB, free: 6.867 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.945217720931396]