Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009642/0.0009642, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.0009904/0.0009904, allocations: 173 kB / 24.87 MB, free: 8.355 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.9392/0.9392, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.726/1.726, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0.5469 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.452e-05, allocations: 4.844 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003931/0.003956, allocations: 2.492 MB / 0.7908 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002451/0.006407, allocations: 1.663 MB / 0.7924 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.006553, allocations: 7.938 kB / 0.7924 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000924/0.007477, allocations: 324.4 kB / 0.7927 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005393/0.008016, allocations: 275.9 kB / 0.793 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.008484, allocations: 204.4 kB / 0.7932 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004597/0.008943, allocations: 420.1 kB / 0.7936 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.009101, allocations: 40.91 kB / 0.7936 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007121/0.009813, allocations: 269.9 kB / 0.7939 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.01004, allocations: 147.6 kB / 0.794 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.01008, allocations: 16.53 kB / 0.794 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.01026, allocations: 84.56 kB / 0.7941 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.01041, allocations: 139.5 kB / 0.7942 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.01053, allocations: 92.11 kB / 0.7943 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004996/0.01103, allocations: 358.4 kB / 0.7947 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01103, allocations: 0.7188 kB / 0.7947 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01103, allocations: 0.9688 kB / 0.7947 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.01104, allocations: 0 / 0.7947 GB, free: 5.766 MB / 0.7448 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.001124/0.01216, allocations: 0.905 MB / 0.7955 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.0122, allocations: 9.406 kB / 0.7955 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.0123, allocations: 76.5 kB / 0.7956 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.01274, allocations: 374 kB / 0.796 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.01276, allocations: 13.78 kB / 0.796 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.01278, allocations: 12.38 kB / 0.796 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.01298, allocations: 123.4 kB / 0.7961 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.01299, allocations: 0.5625 kB / 0.7961 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.01301, allocations: 4.812 kB / 0.7961 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.01301, allocations: 4 kB / 0.7961 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.01309, allocations: 26.66 kB / 0.7962 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.0138, allocations: 472.9 kB / 0.7966 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.01397, allocations: 88.42 kB / 0.7967 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.01402, allocations: 31.61 kB / 0.7967 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.01403, allocations: 0 / 0.7967 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.0142, allocations: 119.5 kB / 0.7968 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 2.775e-06/0.0142, allocations: 2.219 kB / 0.7968 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0003261/0.01453, allocations: 188 kB / 0.797 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.01456, allocations: 51.41 kB / 0.7971 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/0.01517, allocations: 0.6398 MB / 0.7977 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.0152, allocations: 33.7 kB / 0.7977 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.01543, allocations: 335.1 kB / 0.798 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.01548, allocations: 46.7 kB / 0.7981 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.01562, allocations: 63.27 kB / 0.7981 GB, free: 2 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.01582, allocations: 0.578 MB / 0.7987 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.01588, allocations: 23.97 kB / 0.7987 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.01599, allocations: 129.8 kB / 0.7989 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.01612, allocations: 81.44 kB / 0.7989 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01612, allocations: 0 / 0.7989 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002813/0.0164, allocations: 194.3 kB / 0.7991 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.01642, allocations: 4.625 kB / 0.7991 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.01642, allocations: 0.5625 kB / 0.7991 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.01643, allocations: 4 kB / 0.7991 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.01657, allocations: 37.17 kB / 0.7992 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.01657, allocations: 0 / 0.7992 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.01669, allocations: 27.81 kB / 0.7992 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.01671, allocations: 5.094 kB / 0.7992 GB, free: 0.8672 MB / 0.7448 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.0001365/0.01685, allocations: 179.2 kB / 0.7994 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.159e-05/0.01692, allocations: 63.58 kB / 0.7994 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.0172, allocations: 168.2 kB / 0.7996 GB, free: 456 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.0172, allocations: 4 kB / 0.7996 GB, free: 452 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.0172, allocations: 0 / 0.7996 GB, free: 452 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.0172, allocations: 3.938 kB / 0.7996 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.01747, allocations: 256.6 kB / 0.7998 GB, free: 168 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01747, allocations: 0 / 0.7998 GB, free: 168 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.01751, allocations: 8 kB / 0.7998 GB, free: 160 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01752, allocations: 0 / 0.7998 GB, free: 160 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.01753, allocations: 7.984 kB / 0.7999 GB, free: 152 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.01754, allocations: 7.938 kB / 0.7999 GB, free: 144 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01754, allocations: 0 / 0.7999 GB, free: 144 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.0178, allocations: 219.8 kB / 0.8001 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.01787, allocations: 51.59 kB / 0.8001 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.019e-05/0.01794, allocations: 8.906 kB / 0.8001 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.01801, allocations: 7.984 kB / 0.8001 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.01806, allocations: 21.06 kB / 0.8002 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.01807, allocations: 8 kB / 0.8002 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002238/0.0183, allocations: 378.9 kB / 0.8005 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0183, allocations: 5.062 kB / 0.8005 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002007/0.0185, allocations: 67.88 kB / 0.8006 GB, free: 15.38 MB / 0.7605 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.0009008/0.0194, allocations: 417.9 kB / 0.801 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.01955, allocations: 106.3 kB / 0.8011 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.01956, allocations: 0 / 0.8011 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.439e-05/0.01961, allocations: 51.72 kB / 0.8011 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.01991, allocations: 89.61 kB / 0.8012 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009077/0.02082, allocations: 0.7425 MB / 0.802 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.02095, allocations: 136.2 kB / 0.8021 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.081e-05/0.02104, allocations: 42.94 kB / 0.8021 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.02119, allocations: 142.1 kB / 0.8023 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of SimCode: time 7.42e-07/0.02119, allocations: 0 / 0.8023 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of Templates: time 0.007553/0.02874, allocations: 5.086 MB / 0.8072 GB, free: 8.762 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.886668730061501]