Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.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.001329/0.001329, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009656/0.0009656, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.389/2.389, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1Equ.y.[0-9,]+.|setFloMin.ratFloMinEna.[0-9,]+..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.[0-9,]+.|setFloMin.VPriSet_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") translateModel(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1Equ.y.[0-9,]+.|setFloMin.ratFloMinEna.[0-9,]+..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.[0-9,]+.|setFloMin.VPriSet_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.298e-05, allocations: 7.234 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.005101/0.005124, allocations: 1.028 MB / 0.8396 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.006695, allocations: 1.306 MB / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.333e-05/0.006778, allocations: 7.938 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.007162, allocations: 123.5 kB / 0.841 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.007244, allocations: 63.67 kB / 0.8411 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.01076, allocations: 175.5 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005637/0.01132, allocations: 0.55 MB / 0.8418 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.01152, allocations: 114.9 kB / 0.8419 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.0118, allocations: 295.6 kB / 0.8422 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.01201, allocations: 159.7 kB / 0.8423 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.204e-05/0.01207, allocations: 36 kB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.01223, allocations: 71.89 kB / 0.8424 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.01241, allocations: 179.6 kB / 0.8426 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.01255, allocations: 151.6 kB / 0.8427 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004689/0.01302, allocations: 482.5 kB / 0.8432 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.01302, allocations: 0 / 0.8432 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.213e-06/0.01302, allocations: 0 / 0.8432 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.01302, allocations: 0 / 0.8432 GB, free: 9.52 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.003761/0.01679, allocations: 0.5856 MB / 0.8438 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.01682, allocations: 8.625 kB / 0.8438 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.272e-05/0.01691, allocations: 44.89 kB / 0.8438 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.01727, allocations: 281.6 kB / 0.8441 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.01731, allocations: 28.86 kB / 0.8441 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.01737, allocations: 24.38 kB / 0.8441 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.01762, allocations: 168.1 kB / 0.8443 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.01763, allocations: 192 / 0.8443 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.01765, allocations: 12.38 kB / 0.8443 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.01766, allocations: 8.375 kB / 0.8443 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.01776, allocations: 55.41 kB / 0.8444 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000824/0.01859, allocations: 0.4956 MB / 0.8448 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.01896, allocations: 181.5 kB / 0.845 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.01901, allocations: 28.86 kB / 0.845 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.01903, allocations: 3.984 kB / 0.845 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.01921, allocations: 159.5 kB / 0.8452 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 1.674e-06/0.01921, allocations: 4 kB / 0.8452 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.003302/0.02252, allocations: 167.4 kB / 0.8454 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.02255, allocations: 55.41 kB / 0.8454 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.02277, allocations: 271 kB / 0.8457 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.02281, allocations: 33.7 kB / 0.8457 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.02291, allocations: 157.4 kB / 0.8459 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.02296, allocations: 67.45 kB / 0.8459 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.02309, allocations: 89.58 kB / 0.846 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.02319, allocations: 342.7 kB / 0.8463 GB, free: 6.137 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.176e-05/0.02324, allocations: 34.81 kB / 0.8464 GB, free: 6.102 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.02362, allocations: 0.7868 MB / 0.8471 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.02376, allocations: 141.1 kB / 0.8473 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02376, allocations: 0 / 0.8473 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002119/0.02398, allocations: 149.8 kB / 0.8474 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.02399, allocations: 12.03 kB / 0.8474 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.024, allocations: 0 / 0.8474 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.02401, allocations: 4 kB / 0.8474 GB, free: 4.766 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.02413, allocations: 39.92 kB / 0.8475 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.02414, allocations: 0 / 0.8475 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.02445, allocations: 59.75 kB / 0.8475 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.02446, allocations: 8 kB / 0.8475 GB, free: 4.66 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Equ.intTimTab.idx,$PRE.u1Equ.intTimTab.idx,u1Equ.intTimTab.y[2],$PRE.u1Equ.intTimTab.y[2],u1Equ.intTimTab.y[1],$PRE.u1Equ.intTimTab.y[1],u1Equ.y[2],u1Equ.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001229/0.02459, allocations: 140.6 kB / 0.8477 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.02462, allocations: 19.98 kB / 0.8477 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.02483, allocations: 152.9 kB / 0.8478 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.02483, allocations: 4 kB / 0.8478 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.02483, allocations: 0 / 0.8478 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.02484, allocations: 3.984 kB / 0.8478 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.02502, allocations: 161.7 kB / 0.848 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.02502, allocations: 3.938 kB / 0.848 GB, free: 4.145 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.02509, allocations: 19.98 kB / 0.848 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.0251, allocations: 0 / 0.848 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.02511, allocations: 8 kB / 0.848 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003015/0.02812, allocations: 3.984 kB / 0.848 GB, free: 4.113 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.02813, allocations: 4 kB / 0.848 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.02833, allocations: 167.7 kB / 0.8482 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.02836, allocations: 27.78 kB / 0.8482 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.02839, allocations: 4 kB / 0.8482 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.02844, allocations: 11.94 kB / 0.8482 GB, free: 3.883 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.02851, allocations: 34.78 kB / 0.8483 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.02852, allocations: 8 kB / 0.8483 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001142/0.02864, allocations: 100.6 kB / 0.8484 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.02864, allocations: 0 / 0.8484 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002806/0.02892, allocations: 83.78 kB / 0.8484 GB, free: 3.66 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Equ.y[1],u1Equ.y[2],u1Equ.intTimTab.y[1],u1Equ.intTimTab.y[2],u1Equ.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001682/0.02909, allocations: 114.4 kB / 0.8486 GB, free: 3.539 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.02928, allocations: 112.7 kB / 0.8487 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.02928, allocations: 4 kB / 0.8487 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.66e-05/0.02936, allocations: 56.77 kB / 0.8487 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.02952, allocations: 36.92 kB / 0.8488 GB, free: 3.332 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007047/0.03023, allocations: 0.5497 MB / 0.8493 GB, free: 2.754 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.139e-05/0.03031, allocations: 116.3 kB / 0.8494 GB, free: 2.621 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.03041, allocations: 30.28 kB / 0.8494 GB, free: 2.594 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.03062, allocations: 123.3 kB / 0.8495 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.03062, allocations: 0 / 0.8495 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of Templates: time 0.01108/0.04171, allocations: 5.44 MB / 0.8549 GB, free: 13.14 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.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.406560634728521]