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.001041/0.001041, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001108/0.001108, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9968/0.9968, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.92/1.92, allocations: 377.9 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.794e-06/1.794e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.459e-05/3.638e-05, allocations: 5.359 kB / 0.8116 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003657/0.003693, allocations: 2.523 MB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.005855, allocations: 1.684 MB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.006016, allocations: 9.188 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008711/0.006887, allocations: 316.6 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.007385, allocations: 280.2 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.007779, allocations: 204.9 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.00816, allocations: 422.5 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.008297, allocations: 48.89 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.008516, allocations: 215.4 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.008697, allocations: 148.6 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.008733, allocations: 20 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.008898, allocations: 89.22 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.009024, allocations: 139.5 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.009125, allocations: 99.58 kB / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000452/0.009577, allocations: 358.5 kB / 0.8179 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.009581, allocations: 0.625 kB / 0.8179 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.162e-06/0.009582, allocations: 0.7188 kB / 0.8179 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.009589, allocations: 0 / 0.8179 GB, free: 11.23 MB / 0.7761 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.0009467/0.01054, allocations: 0.8987 MB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.01058, allocations: 11.97 kB / 0.8188 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.322e-05/0.01067, allocations: 72.52 kB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.01118, allocations: 378.8 kB / 0.8192 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.01121, allocations: 16.55 kB / 0.8192 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.01123, allocations: 13.09 kB / 0.8193 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.01143, allocations: 124.1 kB / 0.8194 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.01144, allocations: 0 / 0.8194 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.01145, allocations: 0 / 0.8194 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.01146, allocations: 4.938 kB / 0.8194 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.01154, allocations: 31.97 kB / 0.8194 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007208/0.01226, allocations: 0.5632 MB / 0.82 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.01244, allocations: 96.08 kB / 0.82 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.01249, allocations: 27.67 kB / 0.8201 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.0125, allocations: 6.094 kB / 0.8201 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.01267, allocations: 122.7 kB / 0.8202 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 2.926e-06/0.01267, allocations: 0 / 0.8202 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0003166/0.01299, allocations: 195.4 kB / 0.8204 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.01302, allocations: 56.03 kB / 0.8204 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.01354, allocations: 0.6557 MB / 0.8211 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.01356, allocations: 37.14 kB / 0.8211 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.01375, allocations: 339.2 kB / 0.8214 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.01379, allocations: 43.69 kB / 0.8215 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/0.01386, allocations: 55.36 kB / 0.8215 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.01408, allocations: 0.5703 MB / 0.8221 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/0.01414, allocations: 27.98 kB / 0.8221 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.01425, allocations: 137.8 kB / 0.8222 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.01438, allocations: 89.89 kB / 0.8223 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01438, allocations: 0 / 0.8223 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002473/0.01463, allocations: 208.3 kB / 0.8225 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.01464, allocations: 8 kB / 0.8225 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01465, allocations: 0.5 kB / 0.8225 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.01467, allocations: 0.5938 kB / 0.8225 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.0148, allocations: 45.3 kB / 0.8226 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.01481, allocations: 3.938 kB / 0.8226 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.0149, allocations: 27.88 kB / 0.8226 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.01492, allocations: 4 kB / 0.8226 GB, free: 6.148 MB / 0.7761 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.01504, allocations: 179.8 kB / 0.8228 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.01509, allocations: 63.58 kB / 0.8228 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.01536, allocations: 173.8 kB / 0.823 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01537, allocations: 4 kB / 0.823 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.01537, allocations: 4.594 kB / 0.823 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01538, allocations: 0 / 0.823 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.01566, allocations: 342 kB / 0.8233 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01566, allocations: 3.984 kB / 0.8234 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.0157, allocations: 15.94 kB / 0.8234 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01571, allocations: 0 / 0.8234 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.01572, allocations: 7.609 kB / 0.8234 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01572, allocations: 0 / 0.8234 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.01572, allocations: 4 kB / 0.8234 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.01597, allocations: 223.8 kB / 0.8236 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.01603, allocations: 51.62 kB / 0.8236 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.01607, allocations: 8 kB / 0.8236 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.01613, allocations: 11.92 kB / 0.8237 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.0162, allocations: 19.97 kB / 0.8237 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.01621, allocations: 11.92 kB / 0.8237 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003027/0.01651, allocations: 411.8 kB / 0.8241 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01651, allocations: 0 / 0.8241 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002328/0.01674, allocations: 71.88 kB / 0.8242 GB, free: 4.512 MB / 0.7761 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.0009719/0.01772, allocations: 411.1 kB / 0.8245 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.01794, allocations: 106.1 kB / 0.8246 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01794, allocations: 0 / 0.8246 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.275e-05/0.01801, allocations: 51.59 kB / 0.8247 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.01835, allocations: 103.5 kB / 0.8248 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.01947, allocations: 0.7494 MB / 0.8255 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.538e-05/0.01955, allocations: 140.1 kB / 0.8257 GB, free: 3.066 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.66e-05/0.01964, allocations: 46.92 kB / 0.8257 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.01971, allocations: 36.48 kB / 0.8257 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01971, allocations: 4 kB / 0.8257 GB, free: 2.977 MB / 0.7761 GB Notification: Performance of Templates: time 0.008626/0.02834, allocations: 4.601 MB / 0.8302 GB, free: 14.46 MB / 0.7917 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 -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.585405415855348]