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.0009563/0.0009563, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001363/0.001363, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9227/0.9227, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.84/1.84, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.684e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003926/0.003953, allocations: 2.402 MB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.006687, allocations: 1.623 MB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.006882, allocations: 4 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.007911, allocations: 330.5 kB / 1.005 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004015/0.008312, allocations: 274.8 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.008653, allocations: 210.6 kB / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.008993, allocations: 422.5 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.00911, allocations: 44.86 kB / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.009298, allocations: 223.4 kB / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.009444, allocations: 155.5 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.009473, allocations: 20 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.009598, allocations: 75.89 kB / 1.007 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.009702, allocations: 143.5 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.913e-05/0.009781, allocations: 99.58 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.01019, allocations: 0.4982 MB / 1.007 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.01019, allocations: 0 / 1.007 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.81e-07/0.01019, allocations: 0 / 1.007 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.0102, allocations: 0 / 1.007 GB, free: 6.484 MB / 0.9636 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.0008428/0.01104, allocations: 0.7813 MB / 1.008 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.01108, allocations: 8.75 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.01115, allocations: 64.52 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.01152, allocations: 382.6 kB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.01154, allocations: 8.562 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.01155, allocations: 12.38 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.01174, allocations: 151.2 kB / 1.009 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.01175, allocations: 3.938 kB / 1.009 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.01176, allocations: 4 kB / 1.009 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.01177, allocations: 8 kB / 1.009 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.01188, allocations: 71.95 kB / 1.009 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.01243, allocations: 0.4962 MB / 1.009 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.01263, allocations: 122.7 kB / 1.009 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.01269, allocations: 48.83 kB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.0127, allocations: 4 kB / 1.009 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.01286, allocations: 141 kB / 1.009 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.01287, allocations: 0 / 1.009 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0003473/0.01321, allocations: 257.1 kB / 1.01 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.01324, allocations: 51.41 kB / 1.01 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.01375, allocations: 0.6995 MB / 1.01 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.01377, allocations: 33.7 kB / 1.01 GB, free: 2.988 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.01392, allocations: 268.5 kB / 1.011 GB, free: 2.723 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.01395, allocations: 43.67 kB / 1.011 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.01401, allocations: 53.69 kB / 1.011 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.01412, allocations: 378.7 kB / 1.011 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.594e-05/0.01421, allocations: 83.89 kB / 1.011 GB, free: 2.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.01434, allocations: 167.7 kB / 1.011 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.01449, allocations: 141.1 kB / 1.012 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.0145, allocations: 0 / 1.012 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002792/0.01478, allocations: 281.1 kB / 1.012 GB, free: 1.543 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01479, allocations: 8.031 kB / 1.012 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01479, allocations: 8 kB / 1.012 GB, free: 1.527 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.01481, allocations: 0 / 1.012 GB, free: 1.527 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.432e-05/0.0149, allocations: 35.92 kB / 1.012 GB, free: 1.492 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.01491, allocations: 3.938 kB / 1.012 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.433e-05/0.01499, allocations: 23.92 kB / 1.012 GB, free: 1.465 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.01501, allocations: 15.97 kB / 1.012 GB, free: 1.449 MB / 0.9636 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.000149/0.01516, allocations: 207.7 kB / 1.012 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.0152, allocations: 67.56 kB / 1.012 GB, free: 1.172 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.01545, allocations: 221.3 kB / 1.012 GB, free: 0.9453 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01545, allocations: 0 / 1.012 GB, free: 0.9453 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.01546, allocations: 7.938 kB / 1.012 GB, free: 0.9375 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01546, allocations: 3.984 kB / 1.012 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.01566, allocations: 293.1 kB / 1.013 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01566, allocations: 0 / 1.013 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/0.01569, allocations: 15.92 kB / 1.013 GB, free: 0.6016 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.01569, allocations: 4 kB / 1.013 GB, free: 0.5977 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.0157, allocations: 0 / 1.013 GB, free: 0.5977 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.0157, allocations: 4 kB / 1.013 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.0157, allocations: 4 kB / 1.013 GB, free: 0.5898 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.01591, allocations: 248.5 kB / 1.013 GB, free: 336 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.01596, allocations: 55.56 kB / 1.013 GB, free: 280 kB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.01599, allocations: 4 kB / 1.013 GB, free: 276 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.686e-05/0.01604, allocations: 15.98 kB / 1.013 GB, free: 260 kB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.01609, allocations: 19.97 kB / 1.013 GB, free: 240 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.0161, allocations: 11.92 kB / 1.013 GB, free: 228 kB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003474/0.01645, allocations: 479 kB / 1.014 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.01645, allocations: 3.938 kB / 1.014 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000202/0.01665, allocations: 79.88 kB / 1.014 GB, free: 15.68 MB / 0.9792 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.0007046/0.01736, allocations: 456.5 kB / 1.014 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.01759, allocations: 158.1 kB / 1.014 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01759, allocations: 0 / 1.014 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 7.778e-05/0.01767, allocations: 58.16 kB / 1.014 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.01795, allocations: 101.9 kB / 1.014 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008474/0.0188, allocations: 0.8905 MB / 1.015 GB, free: 14.19 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.01896, allocations: 266.7 kB / 1.015 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.01901, allocations: 28.5 kB / 1.015 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of SimCode: time 4.41e-07/0.01901, allocations: 4 kB / 1.015 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of Templates: time 0.005438/0.02445, allocations: 6.127 MB / 1.021 GB, free: 7.754 MB / 0.9792 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 7.347874333150685]