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.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.001424/0.001424, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001634/0.001634, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9777/0.9777, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.94/1.94, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_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 1.493e-06/1.493e-06, allocations: 0 / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.586e-05, allocations: 5.547 kB / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00454/0.004566, allocations: 2.539 MB / 0.7626 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002835/0.007402, allocations: 1.707 MB / 0.7642 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.007585, allocations: 7.938 kB / 0.7642 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0009724/0.008558, allocations: 315 kB / 0.7645 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006646/0.009222, allocations: 276.9 kB / 0.7648 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.009723, allocations: 210.1 kB / 0.765 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.01022, allocations: 414.5 kB / 0.7654 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.01037, allocations: 46.86 kB / 0.7654 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007417/0.01111, allocations: 254.5 kB / 0.7657 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.01134, allocations: 135.6 kB / 0.7658 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.01138, allocations: 21.12 kB / 0.7658 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.01159, allocations: 91.75 kB / 0.7659 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.01173, allocations: 131.5 kB / 0.766 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.01184, allocations: 104.5 kB / 0.7661 GB, free: 408 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005008/0.01234, allocations: 342.6 kB / 0.7665 GB, free: 64 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01235, allocations: 0 / 0.7665 GB, free: 64 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01235, allocations: 0.9375 kB / 0.7665 GB, free: 64 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.01235, allocations: 0 / 0.7665 GB, free: 64 kB / 0.7136 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.001183/0.01354, allocations: 0.7643 MB / 0.7672 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.01357, allocations: 8.031 kB / 0.7672 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.92e-05/0.01365, allocations: 36.89 kB / 0.7673 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.0141, allocations: 359.2 kB / 0.7676 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.01413, allocations: 12.55 kB / 0.7676 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.01415, allocations: 12.38 kB / 0.7676 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.01435, allocations: 120.1 kB / 0.7677 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.01436, allocations: 3.984 kB / 0.7678 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.01438, allocations: 6.688 kB / 0.7678 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.01438, allocations: 4 kB / 0.7678 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.73e-05/0.01445, allocations: 19.98 kB / 0.7678 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.01509, allocations: 305.7 kB / 0.7681 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.01526, allocations: 113.8 kB / 0.7682 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.01531, allocations: 26.25 kB / 0.7682 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.01532, allocations: 4 kB / 0.7682 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.01549, allocations: 117 kB / 0.7683 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.01549, allocations: 0.625 kB / 0.7683 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0002312/0.01572, allocations: 118.9 kB / 0.7684 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.01575, allocations: 51.41 kB / 0.7685 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/0.01631, allocations: 0.5641 MB / 0.769 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.01633, allocations: 33.7 kB / 0.7691 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.01645, allocations: 170.3 kB / 0.7692 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.01648, allocations: 39.72 kB / 0.7693 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-05/0.01657, allocations: 53.64 kB / 0.7693 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.0167, allocations: 378.6 kB / 0.7697 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.01676, allocations: 26.38 kB / 0.7697 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.01697, allocations: 114.7 kB / 0.7698 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.0171, allocations: 81.78 kB / 0.7699 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.0171, allocations: 0 / 0.7699 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002245/0.01732, allocations: 150.7 kB / 0.77 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.01734, allocations: 9.719 kB / 0.77 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.01735, allocations: 7.453 kB / 0.7701 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.01736, allocations: 0 / 0.7701 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.01751, allocations: 35.92 kB / 0.7701 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.01751, allocations: 4 kB / 0.7701 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01763, allocations: 19.92 kB / 0.7701 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.01765, allocations: 4 kB / 0.7701 GB, free: 12.13 MB / 0.7292 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.0001254/0.01777, allocations: 134.5 kB / 0.7702 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.01782, allocations: 37.33 kB / 0.7703 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.01805, allocations: 134.8 kB / 0.7704 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01805, allocations: 3.984 kB / 0.7704 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01805, allocations: 0 / 0.7704 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01806, allocations: 1.469 kB / 0.7704 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.01827, allocations: 181.7 kB / 0.7706 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01828, allocations: 4 kB / 0.7706 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.905e-05/0.01832, allocations: 15.98 kB / 0.7706 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.01833, allocations: 4.562 kB / 0.7706 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.01834, allocations: 4.688 kB / 0.7706 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.279e-06/0.01834, allocations: 7.938 kB / 0.7706 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01834, allocations: 1.156 kB / 0.7706 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.01852, allocations: 134.6 kB / 0.7707 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.74e-05/0.01858, allocations: 63.55 kB / 0.7708 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.01863, allocations: 5 kB / 0.7708 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.992e-05/0.01872, allocations: 11.98 kB / 0.7708 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.01877, allocations: 16.56 kB / 0.7708 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.01879, allocations: 4 kB / 0.7708 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002955/0.01908, allocations: 272.1 kB / 0.7711 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.01908, allocations: 1.5 kB / 0.7711 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002991/0.01938, allocations: 71.88 kB / 0.7712 GB, free: 11 MB / 0.7292 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.001696/0.02108, allocations: 0.5208 MB / 0.7717 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000189/0.02126, allocations: 81.66 kB / 0.7718 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.02127, allocations: 8.969 kB / 0.7718 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.305e-05/0.02135, allocations: 43.3 kB / 0.7718 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.0217, allocations: 98.27 kB / 0.7719 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.02293, allocations: 0.7572 MB / 0.7726 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.02304, allocations: 136.2 kB / 0.7728 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.02317, allocations: 44.86 kB / 0.7728 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.02337, allocations: 111.3 kB / 0.7729 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of SimCode: time 1.002e-06/0.02337, allocations: 0.9375 kB / 0.7729 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of Templates: time 0.009257/0.03263, allocations: 4.979 MB / 0.7778 GB, free: 4.629 MB / 0.7292 GB " [Timeout remaining time 300] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.073186811059713]