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.000946/0.000946, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001563/0.001563, allocations: 181 kB / 24.09 MB, free: 420 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.9264/0.9264, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.874/1.874, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.493e-06/1.493e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.365e-05, allocations: 9.391 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002977/0.003, allocations: 2.48 MB / 0.8145 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.005332, allocations: 1.665 MB / 0.8161 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.005479, allocations: 8.469 kB / 0.8161 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006991/0.006179, allocations: 320.3 kB / 0.8164 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004146/0.006593, allocations: 284.5 kB / 0.8167 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.007001, allocations: 201.2 kB / 0.8169 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.007359, allocations: 418.5 kB / 0.8173 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.007464, allocations: 51.42 kB / 0.8173 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005181/0.007982, allocations: 262.5 kB / 0.8176 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.00818, allocations: 147.6 kB / 0.8177 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.008215, allocations: 20 kB / 0.8177 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.008356, allocations: 87.81 kB / 0.8178 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.824e-05/0.008454, allocations: 131.5 kB / 0.8179 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.353e-05/0.008527, allocations: 96.09 kB / 0.818 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.008886, allocations: 350.5 kB / 0.8183 GB, free: 11 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.008889, allocations: 8.531 kB / 0.8184 GB, free: 11 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.81e-07/0.00889, allocations: 1.938 kB / 0.8184 GB, free: 11 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.008894, allocations: 0 / 0.8184 GB, free: 11 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.0006862/0.00958, allocations: 0.9045 MB / 0.8192 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.009609, allocations: 8.031 kB / 0.8192 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.009674, allocations: 70.42 kB / 0.8193 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.009975, allocations: 385.9 kB / 0.8197 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.00999, allocations: 8.562 kB / 0.8197 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.01, allocations: 12.38 kB / 0.8197 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.01013, allocations: 112.1 kB / 0.8198 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.01014, allocations: 0 / 0.8198 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.01015, allocations: 8.891 kB / 0.8198 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.01015, allocations: 0 / 0.8198 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.556e-05/0.0102, allocations: 31 kB / 0.8199 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.01065, allocations: 469.3 kB / 0.8203 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.01076, allocations: 87.19 kB / 0.8204 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.01079, allocations: 32.45 kB / 0.8204 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.01081, allocations: 7.094 kB / 0.8204 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.01091, allocations: 118.7 kB / 0.8205 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.01092, allocations: 0 / 0.8205 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0002096/0.01113, allocations: 177.2 kB / 0.8207 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.01115, allocations: 59.39 kB / 0.8208 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.01154, allocations: 0.6359 MB / 0.8214 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.01156, allocations: 33.7 kB / 0.8214 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.01173, allocations: 341.6 kB / 0.8217 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.01176, allocations: 43.67 kB / 0.8218 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.01183, allocations: 59.33 kB / 0.8218 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.01201, allocations: 0.5741 MB / 0.8224 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.54e-05/0.01204, allocations: 19.98 kB / 0.8224 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.01212, allocations: 129.8 kB / 0.8225 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.65e-05/0.01221, allocations: 85.25 kB / 0.8226 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01221, allocations: 1.094 kB / 0.8226 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001927/0.0124, allocations: 194.3 kB / 0.8228 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.01241, allocations: 5.125 kB / 0.8228 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.01242, allocations: 0 / 0.8228 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.01243, allocations: 4 kB / 0.8228 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.403e-05/0.01251, allocations: 37.02 kB / 0.8228 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.01252, allocations: 4 kB / 0.8229 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.663e-05/0.01259, allocations: 28.81 kB / 0.8229 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.01261, allocations: 8 kB / 0.8229 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 0.0001103/0.01272, allocations: 175 kB / 0.8231 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.01276, allocations: 73.03 kB / 0.8231 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.01295, allocations: 166.8 kB / 0.8233 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01295, allocations: 4 kB / 0.8233 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.01295, allocations: 0.7188 kB / 0.8233 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01296, allocations: 3.938 kB / 0.8233 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.01315, allocations: 250.3 kB / 0.8235 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01315, allocations: 4 kB / 0.8235 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.01318, allocations: 11.94 kB / 0.8235 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01318, allocations: 0 / 0.8235 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.01319, allocations: 12.83 kB / 0.8236 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.01319, allocations: 0 / 0.8236 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01319, allocations: 0.6562 kB / 0.8236 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.01335, allocations: 214.8 kB / 0.8238 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.0134, allocations: 51.62 kB / 0.8238 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.01343, allocations: 13.8 kB / 0.8238 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.01348, allocations: 4 kB / 0.8238 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.01353, allocations: 23.95 kB / 0.8239 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.01353, allocations: 4 kB / 0.8239 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002133/0.01375, allocations: 382.8 kB / 0.8242 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.3e-07/0.01375, allocations: 2.438 kB / 0.8242 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002052/0.01395, allocations: 71.88 kB / 0.8243 GB, free: 4.613 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.0007793/0.01473, allocations: 420.9 kB / 0.8247 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.01488, allocations: 104.4 kB / 0.8248 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.01488, allocations: 0 / 0.8248 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/0.01493, allocations: 47.59 kB / 0.8248 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.0152, allocations: 89.66 kB / 0.8249 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000865/0.01607, allocations: 0.7427 MB / 0.8256 GB, free: 3.332 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.132e-05/0.01615, allocations: 140.1 kB / 0.8258 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.409e-05/0.01623, allocations: 42.95 kB / 0.8258 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.01637, allocations: 134.2 kB / 0.826 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01637, allocations: 0 / 0.826 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of Templates: time 0.007437/0.0238, allocations: 5.024 MB / 0.8309 GB, free: 14.09 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: 4.959208235144615]