Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.001572/0.001572, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001792/0.001792, allocations: 192.5 kB / 22.11 MB, free: 5.152 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.512/1.512, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.336/3.336, allocations: 495.8 MB / 0.783 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 67.48 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4673, allocations: 173.6 MB / 1.307 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.005674/0.473, allocations: 2.494 MB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003555/0.4766, allocations: 1.592 MB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.4769, allocations: 7.938 kB / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.4781, allocations: 330.9 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005431/0.4786, allocations: 223.1 kB / 1.311 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009025/0.4795, allocations: 273.1 kB / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005735/0.4801, allocations: 382.7 kB / 1.312 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.4803, allocations: 60.83 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.4806, allocations: 171.3 kB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/0.4809, allocations: 175.2 kB / 1.312 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.024e-05/0.4809, allocations: 20 kB / 1.312 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.4812, allocations: 79.94 kB / 1.312 GB, free: 12.01 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.4814, allocations: 135.5 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.4816, allocations: 186.6 kB / 1.313 GB, free: 11.69 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007842/0.4824, allocations: 0.4938 MB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4824, allocations: 0 / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.305e-06/0.4824, allocations: 0 / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.4824, allocations: 4 kB / 1.313 GB, free: 11.19 MB / 1.014 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.001597/0.484, allocations: 0.7775 MB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.484, allocations: 15.97 kB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.4842, allocations: 56.56 kB / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006478/0.4848, allocations: 379.5 kB / 1.314 GB, free: 9.906 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.4848, allocations: 7.938 kB / 1.314 GB, free: 9.898 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.4849, allocations: 12 kB / 1.314 GB, free: 9.887 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.4852, allocations: 144.2 kB / 1.315 GB, free: 9.734 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4852, allocations: 0 / 1.315 GB, free: 9.734 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.4853, allocations: 4 kB / 1.315 GB, free: 9.73 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4853, allocations: 3.938 kB / 1.315 GB, free: 9.727 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.4855, allocations: 71.95 kB / 1.315 GB, free: 9.656 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.4865, allocations: 0.5423 MB / 1.315 GB, free: 9.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.4869, allocations: 126.7 kB / 1.315 GB, free: 8.938 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.487, allocations: 44.83 kB / 1.315 GB, free: 8.891 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.487, allocations: 0 / 1.315 GB, free: 8.891 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.4873, allocations: 115.3 kB / 1.315 GB, free: 8.766 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.4873, allocations: 0 / 1.315 GB, free: 8.766 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0006249/0.4879, allocations: 241.3 kB / 1.316 GB, free: 8.523 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.488, allocations: 81.11 kB / 1.316 GB, free: 8.426 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008907/0.4889, allocations: 0.6838 MB / 1.316 GB, free: 7.734 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.4889, allocations: 29.7 kB / 1.316 GB, free: 7.699 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.4892, allocations: 268.3 kB / 1.317 GB, free: 7.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.4893, allocations: 35.8 kB / 1.317 GB, free: 7.395 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.4894, allocations: 61.64 kB / 1.317 GB, free: 7.328 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.4896, allocations: 366.8 kB / 1.317 GB, free: 6.961 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.4897, allocations: 75.95 kB / 1.317 GB, free: 6.887 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.4899, allocations: 117.1 kB / 1.317 GB, free: 6.754 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.4902, allocations: 142 kB / 1.317 GB, free: 6.609 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4902, allocations: 3.938 kB / 1.317 GB, free: 6.605 MB / 1.014 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005257/0.4908, allocations: 265.1 kB / 1.318 GB, free: 6.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.4908, allocations: 8 kB / 1.318 GB, free: 6.332 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4908, allocations: 0 / 1.318 GB, free: 6.332 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.4908, allocations: 0 / 1.318 GB, free: 6.332 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.491, allocations: 39.92 kB / 1.318 GB, free: 6.293 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.491, allocations: 8 kB / 1.318 GB, free: 6.285 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.4912, allocations: 27.88 kB / 1.318 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.4912, allocations: 7.984 kB / 1.318 GB, free: 6.25 MB / 1.014 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.0002546/0.4915, allocations: 203.5 kB / 1.318 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.068e-05/0.4915, allocations: 63.55 kB / 1.318 GB, free: 5.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004423/0.492, allocations: 206.5 kB / 1.318 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.492, allocations: 7.938 kB / 1.318 GB, free: 5.762 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.492, allocations: 0 / 1.318 GB, free: 5.762 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.492, allocations: 4 kB / 1.318 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.4924, allocations: 344.4 kB / 1.319 GB, free: 5.379 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4924, allocations: 3.938 kB / 1.319 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.4924, allocations: 15.98 kB / 1.319 GB, free: 5.359 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4924, allocations: 0 / 1.319 GB, free: 5.359 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4924, allocations: 0 / 1.319 GB, free: 5.359 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4924, allocations: 0 / 1.319 GB, free: 5.359 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4925, allocations: 4 kB / 1.319 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.4929, allocations: 232.5 kB / 1.319 GB, free: 5.113 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.875e-05/0.493, allocations: 55.55 kB / 1.319 GB, free: 5.059 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.493, allocations: 12 kB / 1.319 GB, free: 5.047 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.4931, allocations: 11.98 kB / 1.319 GB, free: 5.035 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.4932, allocations: 15.97 kB / 1.319 GB, free: 5.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.4932, allocations: 4 kB / 1.319 GB, free: 5.016 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005945/0.4938, allocations: 471 kB / 1.319 GB, free: 4.562 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4938, allocations: 4 kB / 1.319 GB, free: 4.559 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003408/0.4942, allocations: 63.94 kB / 1.319 GB, free: 4.496 MB / 1.014 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 (13): * Single equations (assignments): 9 * 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.001681/0.4959, allocations: 431.7 kB / 1.32 GB, free: 4.223 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004025/0.4963, allocations: 139.9 kB / 1.32 GB, free: 4.086 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4963, allocations: 4 kB / 1.32 GB, free: 4.082 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.4964, allocations: 60.08 kB / 1.32 GB, free: 4.023 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.4969, allocations: 93.73 kB / 1.32 GB, free: 3.938 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.4985, allocations: 0.8444 MB / 1.321 GB, free: 3.062 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.4991, allocations: 0.854 MB / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000154/0.4992, allocations: 46.94 kB / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.811e-05/0.4993, allocations: 35.42 kB / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of SimCode: time 8.22e-07/0.4993, allocations: 0 / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of Templates: time 0.01127/0.5106, allocations: 4.456 MB / 1.326 GB, free: 13.69 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.950782533735037]