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.0009249/0.0009249, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001682/0.001682, allocations: 169 kB / 23.02 MB, free: 1.539 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.981/0.981, allocations: 177.1 MB / 203.4 MB, free: 5.629 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/2, allocations: 429.5 MB / 0.6733 GB, free: 3.996 MB / 0.6355 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.403e-06/1.403e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.763e-05, allocations: 3.75 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01059/0.01061, allocations: 13.57 MB / 0.8915 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007127/0.01774, allocations: 4.977 MB / 0.8963 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.01897, allocations: 87.19 kB / 0.8964 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.02003, allocations: 0.6172 MB / 0.897 GB, free: 3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.02271, allocations: 1.569 MB / 0.8986 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00236/0.02507, allocations: 1.489 MB / 0.9 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003864/0.02893, allocations: 3.775 MB / 0.9037 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.03052, allocations: 0.9919 MB / 0.9047 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.03311, allocations: 1.863 MB / 0.9065 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.03429, allocations: 1.028 MB / 0.9075 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.03446, allocations: 108 kB / 0.9076 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/0.03512, allocations: 319.5 kB / 0.9079 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002704/0.03539, allocations: 410.2 kB / 0.9083 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005028/0.03589, allocations: 0.5727 MB / 0.9088 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.03713, allocations: 1.401 MB / 0.9102 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.03713, allocations: 0 / 0.9102 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.062e-06/0.03713, allocations: 0 / 0.9102 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.926e-05/0.03715, allocations: 0 / 0.9102 GB, free: 5.426 MB / 0.8698 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.002033/0.03918, allocations: 2.091 MB / 0.9123 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.03922, allocations: 12.03 kB / 0.9123 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.04095, allocations: 0.6037 MB / 0.9129 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.04212, allocations: 1.13 MB / 0.914 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.04217, allocations: 86.08 kB / 0.914 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.04228, allocations: 108 kB / 0.9141 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.0437, allocations: 1.286 MB / 0.9154 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.04372, allocations: 3.938 kB / 0.9154 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.065e-05/0.04379, allocations: 47.98 kB / 0.9154 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.04381, allocations: 32 kB / 0.9155 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008326/0.04464, allocations: 0.5577 MB / 0.916 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005333/0.04997, allocations: 7.897 MB / 0.9237 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.05103, allocations: 0.552 MB / 0.9243 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.05134, allocations: 225.5 kB / 0.9245 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/0.05158, allocations: 92.56 kB / 0.9246 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004808/0.05206, allocations: 382.4 kB / 0.9249 GB, free: 5.73 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 2.435e-06/0.05207, allocations: 0 / 0.9249 GB, free: 5.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.00131/0.05337, allocations: 0.9055 MB / 0.9258 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.05341, allocations: 60.41 kB / 0.9259 GB, free: 4.746 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.0546, allocations: 1.231 MB / 0.9271 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/0.05466, allocations: 49.69 kB / 0.9271 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.0551, allocations: 0.8575 MB / 0.928 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.05528, allocations: 313.4 kB / 0.9283 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.0555, allocations: 232.4 kB / 0.9285 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.05562, allocations: 0.5121 MB / 0.929 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.05593, allocations: 198.5 kB / 0.9292 GB, free: 1.301 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/0.05653, allocations: 0.94 MB / 0.9301 GB, free: 80 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008686/0.05739, allocations: 0.9357 MB / 0.931 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.0574, allocations: 0 / 0.931 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001207/0.05861, allocations: 1.016 MB / 0.932 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.05863, allocations: 18.25 kB / 0.932 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.05864, allocations: 8 kB / 0.932 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.05866, allocations: 20 kB / 0.932 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/0.05927, allocations: 291.5 kB / 0.9323 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.05929, allocations: 27.91 kB / 0.9324 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/0.05976, allocations: 155.1 kB / 0.9325 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/0.05984, allocations: 71.91 kB / 0.9326 GB, free: 13.33 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.0002457/0.06008, allocations: 238.2 kB / 0.9328 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.06026, allocations: 190.9 kB / 0.933 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.06201, allocations: 1.244 MB / 0.9342 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.06203, allocations: 19.98 kB / 0.9342 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.06203, allocations: 0 / 0.9342 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.06204, allocations: 3.984 kB / 0.9342 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002362/0.0644, allocations: 2.351 MB / 0.9365 GB, free: 9.164 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.06441, allocations: 0 / 0.9365 GB, free: 9.164 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.06488, allocations: 191.9 kB / 0.9367 GB, free: 8.977 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.06489, allocations: 7.938 kB / 0.9367 GB, free: 8.969 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/0.06494, allocations: 39.95 kB / 0.9367 GB, free: 8.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.06495, allocations: 4 kB / 0.9367 GB, free: 8.926 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.06495, allocations: 0 / 0.9367 GB, free: 8.926 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.0665, allocations: 1.405 MB / 0.9381 GB, free: 7.473 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.06679, allocations: 286.4 kB / 0.9384 GB, free: 7.191 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.0669, allocations: 23.98 kB / 0.9384 GB, free: 7.168 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.06727, allocations: 67.94 kB / 0.9385 GB, free: 7.102 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/0.06737, allocations: 76.8 kB / 0.9386 GB, free: 7.027 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/0.06743, allocations: 47.97 kB / 0.9386 GB, free: 6.98 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00059/0.06802, allocations: 0.7368 MB / 0.9393 GB, free: 6.246 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/0.06802, allocations: 0 / 0.9393 GB, free: 6.246 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006747/0.0687, allocations: 423.2 kB / 0.9397 GB, free: 5.832 MB / 0.9011 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.001245/0.06994, allocations: 490.2 kB / 0.9402 GB, free: 5.488 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009235/0.07087, allocations: 0.7331 MB / 0.9409 GB, free: 4.754 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.07087, allocations: 0 / 0.9409 GB, free: 4.754 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.07133, allocations: 412.2 kB / 0.9413 GB, free: 4.344 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.07267, allocations: 0.6163 MB / 0.9419 GB, free: 3.738 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.07547, allocations: 2.555 MB / 0.9444 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.07565, allocations: 306.4 kB / 0.9447 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006528/0.0763, allocations: 331 kB / 0.945 GB, free: 468 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.07658, allocations: 156.4 kB / 0.9452 GB, free: 308 kB / 0.9011 GB Notification: Performance of SimCode: time 7.61e-07/0.07658, allocations: 0 / 0.9452 GB, free: 308 kB / 0.9011 GB Notification: Performance of Templates: time 0.03103/0.1076, allocations: 27.78 MB / 0.9723 GB, free: 5.18 MB / 0.9323 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.865664269309491]