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.001327/0.001327, allocations: 87.56 kB / 20.46 MB, free: 4.129 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.001459/0.001459, allocations: 161 kB / 23.82 MB, free: 0.7656 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.9472/0.9472, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.831/1.831, allocations: 377.9 MB / 0.6236 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] 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.583e-06/1.583e-06, allocations: 0 / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.607e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002844/0.00287, allocations: 2.519 MB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.004729, allocations: 1.689 MB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.004855, allocations: 9.188 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000726/0.005581, allocations: 319.4 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.005972, allocations: 276.8 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.006297, allocations: 208.6 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.00665, allocations: 419.7 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.006765, allocations: 48.89 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005699/0.007334, allocations: 264.3 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.0075, allocations: 140.2 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.007533, allocations: 21.12 kB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.007667, allocations: 83.88 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.007772, allocations: 135.5 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.244e-05/0.007855, allocations: 96.45 kB / 0.8176 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.008215, allocations: 370.4 kB / 0.818 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.008217, allocations: 0 / 0.818 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.183e-06/0.008218, allocations: 0.5938 kB / 0.818 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.008223, allocations: 1.156 kB / 0.818 GB, free: 11.18 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.0007828/0.009005, allocations: 0.8969 MB / 0.8188 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.009039, allocations: 12.84 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.319e-05/0.009122, allocations: 68.52 kB / 0.8189 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.009464, allocations: 390.9 kB / 0.8193 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.009485, allocations: 4.562 kB / 0.8193 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.009504, allocations: 13.72 kB / 0.8193 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.009673, allocations: 123.4 kB / 0.8194 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.00968, allocations: 0 / 0.8194 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.009693, allocations: 4.875 kB / 0.8194 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.009701, allocations: 4 kB / 0.8194 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.008e-05/0.009771, allocations: 41 kB / 0.8195 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.01035, allocations: 0.5619 MB / 0.82 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.0105, allocations: 87.22 kB / 0.8201 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.01055, allocations: 36.11 kB / 0.8201 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.01056, allocations: 7.438 kB / 0.8201 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.01069, allocations: 122.7 kB / 0.8203 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.01069, allocations: 0 / 0.8203 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0002729/0.01096, allocations: 193.2 kB / 0.8204 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.01099, allocations: 55.41 kB / 0.8205 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.01145, allocations: 0.6518 MB / 0.8211 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.01147, allocations: 33.7 kB / 0.8212 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.01164, allocations: 335.2 kB / 0.8215 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.01167, allocations: 48.2 kB / 0.8215 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.01173, allocations: 59.34 kB / 0.8216 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.01189, allocations: 0.563 MB / 0.8221 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.01195, allocations: 32.53 kB / 0.8222 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.397e-05/0.01204, allocations: 134.4 kB / 0.8223 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.01215, allocations: 92.33 kB / 0.8224 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01215, allocations: 0 / 0.8224 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000237/0.01239, allocations: 208.5 kB / 0.8226 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.0124, allocations: 8 kB / 0.8226 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.0124, allocations: 0.6562 kB / 0.8226 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.01241, allocations: 1.5 kB / 0.8226 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.01251, allocations: 39.91 kB / 0.8226 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.01252, allocations: 3.938 kB / 0.8226 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.54e-05/0.01259, allocations: 23.89 kB / 0.8227 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.01261, allocations: 11.64 kB / 0.8227 GB, free: 6.105 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 9.873e-05/0.01271, allocations: 178.6 kB / 0.8228 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.01275, allocations: 71.52 kB / 0.8229 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.01296, allocations: 170.8 kB / 0.8231 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01296, allocations: 4 kB / 0.8231 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01296, allocations: 0 / 0.8231 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.01297, allocations: 7.922 kB / 0.8231 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.01321, allocations: 340.4 kB / 0.8234 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01321, allocations: 0.9375 kB / 0.8234 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.01324, allocations: 12 kB / 0.8234 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01324, allocations: 1.062 kB / 0.8234 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.01326, allocations: 7.984 kB / 0.8234 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01326, allocations: 0 / 0.8234 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01326, allocations: 5.094 kB / 0.8234 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.01345, allocations: 226.3 kB / 0.8236 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.01349, allocations: 55.61 kB / 0.8237 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.01352, allocations: 5.125 kB / 0.8237 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.01358, allocations: 11.98 kB / 0.8237 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.01363, allocations: 20.91 kB / 0.8237 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.01364, allocations: 4 kB / 0.8237 GB, free: 4.934 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002743/0.01392, allocations: 406.9 kB / 0.8241 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01392, allocations: 0.5 kB / 0.8241 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002047/0.01412, allocations: 79.41 kB / 0.8242 GB, free: 4.469 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.0008319/0.01495, allocations: 411.3 kB / 0.8246 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.01514, allocations: 107.5 kB / 0.8247 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01514, allocations: 0 / 0.8247 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.158e-05/0.0152, allocations: 55.58 kB / 0.8248 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.01549, allocations: 102 kB / 0.8248 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000926/0.01641, allocations: 0.7427 MB / 0.8256 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.72e-05/0.01649, allocations: 136.1 kB / 0.8257 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.277e-05/0.01657, allocations: 46.92 kB / 0.8257 GB, free: 2.973 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.01663, allocations: 32.5 kB / 0.8258 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.01663, allocations: 0 / 0.8258 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of Templates: time 0.008374/0.02501, allocations: 4.922 MB / 0.8306 GB, free: 14.11 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.079183571971953]