Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.0009477/0.0009477, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001056/0.001056, allocations: 171.1 kB / 24.87 MB, free: 8.891 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.012/1.012, allocations: 177.2 MB / 205.3 MB, free: 5.508 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.863/1.863, allocations: 377.9 MB / 0.6247 GB, free: 8.391 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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0.7656 kB / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.344e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01062/0.01064, allocations: 13.41 MB / 0.8259 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008492/0.01913, allocations: 4.986 MB / 0.8308 GB, free: 15.01 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.02091, allocations: 95.19 kB / 0.8309 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.02222, allocations: 0.6172 MB / 0.8315 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003314/0.02553, allocations: 1.569 MB / 0.833 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.02878, allocations: 1.52 MB / 0.8345 GB, free: 11.19 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004743/0.03352, allocations: 3.842 MB / 0.8382 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.03527, allocations: 1.018 MB / 0.8392 GB, free: 6.293 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.03849, allocations: 1.89 MB / 0.8411 GB, free: 4.398 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.03971, allocations: 1.032 MB / 0.8421 GB, free: 3.363 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.03986, allocations: 104 kB / 0.8422 GB, free: 3.262 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006489/0.0405, allocations: 323.5 kB / 0.8425 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.0408, allocations: 418.1 kB / 0.8429 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0005546/0.04135, allocations: 0.5649 MB / 0.8435 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.04288, allocations: 1.409 MB / 0.8448 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.04289, allocations: 0 / 0.8448 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.002e-06/0.04289, allocations: 0 / 0.8448 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.293e-05/0.04291, allocations: 0 / 0.8448 GB, free: 0.5547 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00212/0.04503, allocations: 2.13 MB / 0.8469 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.04507, allocations: 8.031 kB / 0.8469 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.04687, allocations: 0.6037 MB / 0.8475 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.04817, allocations: 1.146 MB / 0.8486 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.188e-05/0.04823, allocations: 82.14 kB / 0.8487 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.04834, allocations: 108 kB / 0.8488 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.04961, allocations: 1.208 MB / 0.85 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.04963, allocations: 11.92 kB / 0.85 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/0.0497, allocations: 44 kB / 0.85 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.04971, allocations: 32 kB / 0.8501 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005724/0.05029, allocations: 469 kB / 0.8505 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005227/0.05551, allocations: 7.685 MB / 0.858 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009098/0.05642, allocations: 0.4949 MB / 0.8585 GB, free: 1.961 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.05666, allocations: 198.8 kB / 0.8587 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.05691, allocations: 92.69 kB / 0.8588 GB, free: 1.672 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000426/0.05734, allocations: 334.3 kB / 0.8591 GB, free: 1.332 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=85): time 4.348e-06/0.05734, allocations: 0 / 0.8591 GB, free: 1.332 MB / 0.8073 GB Notification: Performance of matching and sorting (n=85): time 0.001187/0.05853, allocations: 0.8039 MB / 0.8599 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.05857, allocations: 60.41 kB / 0.8599 GB, free: 464 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.0597, allocations: 1.208 MB / 0.8611 GB, free: 15.21 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/0.05976, allocations: 41.7 kB / 0.8612 GB, free: 15.17 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.06023, allocations: 0.8769 MB / 0.862 GB, free: 14.28 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.06044, allocations: 321.4 kB / 0.8623 GB, free: 13.96 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.06066, allocations: 232.3 kB / 0.8626 GB, free: 13.73 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.06079, allocations: 0.5237 MB / 0.8631 GB, free: 13.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.06101, allocations: 154.5 kB / 0.8632 GB, free: 13.04 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.06156, allocations: 0.9008 MB / 0.8641 GB, free: 11.87 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007282/0.06229, allocations: 0.8576 MB / 0.8649 GB, free: 10.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.06229, allocations: 4 kB / 0.8649 GB, free: 10.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00113/0.06342, allocations: 0.9342 MB / 0.8658 GB, free: 9.855 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.06345, allocations: 12.03 kB / 0.8659 GB, free: 9.844 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.06346, allocations: 12 kB / 0.8659 GB, free: 9.832 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.06348, allocations: 16 kB / 0.8659 GB, free: 9.816 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/0.06411, allocations: 299.5 kB / 0.8662 GB, free: 9.523 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.06413, allocations: 27.92 kB / 0.8662 GB, free: 9.496 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.06472, allocations: 159.1 kB / 0.8663 GB, free: 9.34 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/0.0648, allocations: 51.97 kB / 0.8664 GB, free: 9.289 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * 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.0003057/0.06511, allocations: 238.1 kB / 0.8666 GB, free: 9.047 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.0653, allocations: 202.8 kB / 0.8668 GB, free: 8.848 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.06698, allocations: 1.143 MB / 0.8679 GB, free: 7.695 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.06701, allocations: 23.97 kB / 0.868 GB, free: 7.672 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.06701, allocations: 0 / 0.868 GB, free: 7.672 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.06702, allocations: 7.969 kB / 0.868 GB, free: 7.664 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.0693, allocations: 2.052 MB / 0.87 GB, free: 5.512 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.06931, allocations: 0 / 0.87 GB, free: 5.512 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/0.0698, allocations: 187.9 kB / 0.8701 GB, free: 5.328 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.06981, allocations: 7.938 kB / 0.8702 GB, free: 5.32 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/0.06986, allocations: 43.95 kB / 0.8702 GB, free: 5.277 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.06986, allocations: 7.938 kB / 0.8702 GB, free: 5.27 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.06987, allocations: 4 kB / 0.8702 GB, free: 5.266 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.07123, allocations: 1.261 MB / 0.8714 GB, free: 3.953 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.07159, allocations: 266.5 kB / 0.8717 GB, free: 3.691 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.0717, allocations: 23.98 kB / 0.8717 GB, free: 3.668 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.07211, allocations: 75.88 kB / 0.8718 GB, free: 3.594 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/0.0722, allocations: 72.86 kB / 0.8719 GB, free: 3.523 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/0.07227, allocations: 39.97 kB / 0.8719 GB, free: 3.484 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004946/0.07276, allocations: 0.6824 MB / 0.8726 GB, free: 2.805 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.07276, allocations: 0 / 0.8726 GB, free: 2.805 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009452/0.07371, allocations: 435.2 kB / 0.873 GB, free: 2.379 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 6 * 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.001171/0.07488, allocations: 494.1 kB / 0.8734 GB, free: 2.031 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009186/0.0758, allocations: 0.6431 MB / 0.8741 GB, free: 1.391 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.0758, allocations: 0 / 0.8741 GB, free: 1.391 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.0762, allocations: 368.2 kB / 0.8744 GB, free: 1.027 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.07802, allocations: 0.6315 MB / 0.875 GB, free: 420 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.08117, allocations: 2.555 MB / 0.8775 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.08139, allocations: 306.4 kB / 0.8778 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008118/0.0822, allocations: 311.2 kB / 0.8781 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.08324, allocations: 0.6266 MB / 0.8787 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of SimCode: time 1.423e-06/0.08324, allocations: 0 / 0.8787 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.03828/0.1215, allocations: 28.61 MB / 0.9067 GB, free: 0.6797 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.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.915635726880282]