Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009851/0.0009851, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009973/0.0009973, allocations: 169 kB / 23.27 MB, free: 1.223 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.9417/0.9417, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.261/2.261, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.425e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01059/0.01061, allocations: 13.4 MB / 0.9029 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.007572/0.01819, allocations: 4.943 MB / 0.9077 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009085/0.01909, allocations: 95.19 kB / 0.9078 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009496/0.02004, allocations: 0.6171 MB / 0.9084 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.02237, allocations: 1.561 MB / 0.9099 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.02485, allocations: 1.497 MB / 0.9114 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003404/0.02825, allocations: 3.779 MB / 0.9151 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009255/0.02918, allocations: 0.9959 MB / 0.916 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.03091, allocations: 1.855 MB / 0.9179 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008417/0.03175, allocations: 1.028 MB / 0.9189 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.03188, allocations: 104 kB / 0.919 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006041/0.03248, allocations: 323.5 kB / 0.9193 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.03274, allocations: 410.2 kB / 0.9197 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003908/0.03313, allocations: 0.5688 MB / 0.9202 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.03429, allocations: 1.405 MB / 0.9216 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.0343, allocations: 0 / 0.9216 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.392e-06/0.0343, allocations: 0 / 0.9216 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.03431, allocations: 4 kB / 0.9216 GB, free: 9.039 MB / 0.8855 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.002094/0.0364, allocations: 2.114 MB / 0.9237 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.03644, allocations: 8.625 kB / 0.9237 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.03773, allocations: 0.6076 MB / 0.9243 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.03882, allocations: 1.118 MB / 0.9253 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.03887, allocations: 86.08 kB / 0.9254 GB, free: 4.992 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.03897, allocations: 112 kB / 0.9255 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.04006, allocations: 1.204 MB / 0.9267 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.04008, allocations: 7.938 kB / 0.9267 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.214e-05/0.04015, allocations: 51.98 kB / 0.9268 GB, free: 3.418 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.04017, allocations: 28 kB / 0.9268 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.04067, allocations: 461.1 kB / 0.9272 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004727/0.0454, allocations: 7.674 MB / 0.9347 GB, free: 11 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007899/0.04619, allocations: 0.4974 MB / 0.9352 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.0464, allocations: 185.5 kB / 0.9354 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.04663, allocations: 123.8 kB / 0.9355 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006323/0.04727, allocations: 342.2 kB / 0.9358 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=85): time 2.474e-06/0.04727, allocations: 0 / 0.9358 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of matching and sorting (n=85): time 0.0009794/0.04825, allocations: 0.8001 MB / 0.9366 GB, free: 9.047 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.04828, allocations: 60.41 kB / 0.9367 GB, free: 8.977 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007444/0.04902, allocations: 1.199 MB / 0.9378 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.04907, allocations: 41.7 kB / 0.9379 GB, free: 7.699 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004428/0.04952, allocations: 0.8729 MB / 0.9387 GB, free: 6.812 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.04968, allocations: 313.4 kB / 0.939 GB, free: 6.504 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.04988, allocations: 228.4 kB / 0.9393 GB, free: 6.273 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.05001, allocations: 0.5276 MB / 0.9398 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.05022, allocations: 154.4 kB / 0.9399 GB, free: 5.586 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/0.05071, allocations: 0.9048 MB / 0.9408 GB, free: 4.406 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/0.05138, allocations: 0.8614 MB / 0.9416 GB, free: 3.332 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.05138, allocations: 0 / 0.9416 GB, free: 3.332 MB / 0.9011 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001278/0.05266, allocations: 0.938 MB / 0.9426 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.05268, allocations: 12 kB / 0.9426 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.05269, allocations: 8 kB / 0.9426 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.05271, allocations: 20 kB / 0.9426 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.05326, allocations: 295.5 kB / 0.9429 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.05328, allocations: 27.91 kB / 0.9429 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/0.0537, allocations: 155.2 kB / 0.9431 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.05377, allocations: 55.97 kB / 0.9431 GB, free: 1.824 MB / 0.9011 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.0002311/0.054, allocations: 246.1 kB / 0.9433 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.05417, allocations: 186.9 kB / 0.9435 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.05544, allocations: 1.143 MB / 0.9446 GB, free: 240 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.05545, allocations: 19.98 kB / 0.9447 GB, free: 220 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.05545, allocations: 0 / 0.9447 GB, free: 220 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.05546, allocations: 3.984 kB / 0.9447 GB, free: 216 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.05741, allocations: 2.063 MB / 0.9467 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.05741, allocations: 192 / 0.9467 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/0.05784, allocations: 191.7 kB / 0.9469 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.05785, allocations: 7.984 kB / 0.9469 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.05789, allocations: 39.95 kB / 0.9469 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.0579, allocations: 11.94 kB / 0.9469 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.0579, allocations: 0 / 0.9469 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.05911, allocations: 1.257 MB / 0.9481 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.05937, allocations: 274.5 kB / 0.9484 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.63e-05/0.05946, allocations: 24 kB / 0.9484 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.05978, allocations: 67.88 kB / 0.9485 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.05986, allocations: 80.86 kB / 0.9486 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.05991, allocations: 35.97 kB / 0.9486 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008725/0.06078, allocations: 0.674 MB / 0.9493 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.06078, allocations: 3.938 kB / 0.9493 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000658/0.06144, allocations: 435.2 kB / 0.9497 GB, free: 10.93 MB / 0.9167 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.0009532/0.0624, allocations: 468.2 kB / 0.9501 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006978/0.06309, allocations: 0.647 MB / 0.9508 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0631, allocations: 0 / 0.9508 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.06345, allocations: 364 kB / 0.9511 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.06473, allocations: 0.6132 MB / 0.9517 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.0673, allocations: 2.539 MB / 0.9542 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.06748, allocations: 302.4 kB / 0.9545 GB, free: 6.051 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005602/0.06804, allocations: 303.1 kB / 0.9548 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008617/0.0689, allocations: 0.6188 MB / 0.9554 GB, free: 5.129 MB / 0.9167 GB Notification: Performance of SimCode: time 9.62e-07/0.0689, allocations: 0 / 0.9554 GB, free: 5.129 MB / 0.9167 GB Notification: Performance of Templates: time 0.03022/0.09912, allocations: 27.69 MB / 0.9824 GB, free: 10.13 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.75089401518926]