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.001106/0.001106, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009631/0.0009631, allocations: 169 kB / 23.02 MB, free: 1.555 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.027/1.027, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.163/2.163, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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 2.505e-06/2.505e-06, allocations: 4 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.614e-05, allocations: 7.125 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01/0.01002, allocations: 13.57 MB / 0.8915 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005842/0.01586, allocations: 4.986 MB / 0.8963 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006269/0.01649, allocations: 91.19 kB / 0.8964 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.01751, allocations: 0.6094 MB / 0.897 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.01934, allocations: 1.558 MB / 0.8985 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.02125, allocations: 1.501 MB / 0.9 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002512/0.02377, allocations: 3.767 MB / 0.9037 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009502/0.02472, allocations: 0.9921 MB / 0.9046 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.02615, allocations: 1.781 MB / 0.9064 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009007/0.02705, allocations: 1.063 MB / 0.9074 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.02718, allocations: 108 kB / 0.9075 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005009/0.02768, allocations: 323.5 kB / 0.9078 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.02794, allocations: 410.2 kB / 0.9082 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004289/0.02837, allocations: 0.5766 MB / 0.9088 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.02952, allocations: 1.409 MB / 0.9102 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.02953, allocations: 0 / 0.9102 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.82e-07/0.02953, allocations: 4 kB / 0.9102 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.02954, allocations: 0 / 0.9102 GB, free: 5.453 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.002058/0.0316, allocations: 2.095 MB / 0.9122 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.03164, allocations: 8.031 kB / 0.9122 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.03311, allocations: 0.6349 MB / 0.9128 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.03428, allocations: 1.126 MB / 0.9139 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.03433, allocations: 82.14 kB / 0.914 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.03444, allocations: 111.9 kB / 0.9141 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.03585, allocations: 1.306 MB / 0.9154 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.03587, allocations: 7.938 kB / 0.9154 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.03593, allocations: 48 kB / 0.9155 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.03596, allocations: 31.98 kB / 0.9155 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008193/0.03678, allocations: 0.5811 MB / 0.9161 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004603/0.04138, allocations: 7.932 MB / 0.9238 GB, free: 6.906 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.04244, allocations: 0.5987 MB / 0.9244 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.04275, allocations: 225.5 kB / 0.9246 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.04299, allocations: 84.52 kB / 0.9247 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005695/0.04356, allocations: 386.2 kB / 0.925 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 3.366e-06/0.04356, allocations: 0 / 0.925 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.001333/0.04489, allocations: 0.9095 MB / 0.9259 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.04493, allocations: 68.39 kB / 0.926 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000937/0.04586, allocations: 1.235 MB / 0.9272 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.04591, allocations: 41.7 kB / 0.9272 GB, free: 3.297 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.04635, allocations: 0.8693 MB / 0.9281 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.04652, allocations: 309.4 kB / 0.9284 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.04674, allocations: 228.5 kB / 0.9286 GB, free: 1.875 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.04686, allocations: 0.516 MB / 0.9291 GB, free: 1.352 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.04718, allocations: 194.5 kB / 0.9293 GB, free: 1.164 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006123/0.0478, allocations: 0.9518 MB / 0.9302 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008821/0.04868, allocations: 0.9357 MB / 0.9311 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.04868, allocations: 4 kB / 0.9311 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001299/0.04998, allocations: 1.028 MB / 0.9321 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.05, allocations: 12 kB / 0.9322 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.05001, allocations: 8 kB / 0.9322 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.05004, allocations: 20 kB / 0.9322 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.05067, allocations: 307.8 kB / 0.9325 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.05069, allocations: 27.86 kB / 0.9325 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.05117, allocations: 163.2 kB / 0.9327 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.782e-05/0.05125, allocations: 63.97 kB / 0.9327 GB, free: 13.15 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.0002431/0.05149, allocations: 246.1 kB / 0.933 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.05166, allocations: 183 kB / 0.9331 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.05318, allocations: 1.252 MB / 0.9344 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.05319, allocations: 15.98 kB / 0.9344 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.0532, allocations: 3.938 kB / 0.9344 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.05321, allocations: 7.969 kB / 0.9344 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.0556, allocations: 2.374 MB / 0.9367 GB, free: 8.953 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.0556, allocations: 0 / 0.9367 GB, free: 8.953 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/0.05609, allocations: 207.9 kB / 0.9369 GB, free: 8.75 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.0561, allocations: 7.938 kB / 0.9369 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/0.05615, allocations: 31.97 kB / 0.9369 GB, free: 8.711 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.05615, allocations: 8 kB / 0.9369 GB, free: 8.703 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.05615, allocations: 0 / 0.9369 GB, free: 8.703 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.05772, allocations: 1.417 MB / 0.9383 GB, free: 7.238 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/0.0581, allocations: 290.3 kB / 0.9386 GB, free: 6.953 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.527e-05/0.05819, allocations: 20 kB / 0.9386 GB, free: 6.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.05859, allocations: 79.92 kB / 0.9387 GB, free: 6.855 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.05868, allocations: 76.8 kB / 0.9388 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.05874, allocations: 47.97 kB / 0.9388 GB, free: 6.734 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005764/0.05931, allocations: 0.7407 MB / 0.9395 GB, free: 5.996 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.5e-07/0.05931, allocations: 0 / 0.9395 GB, free: 5.996 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006639/0.05998, allocations: 431.2 kB / 0.94 GB, free: 5.574 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.001009/0.06099, allocations: 493.3 kB / 0.9404 GB, free: 5.23 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000936/0.06192, allocations: 0.7447 MB / 0.9412 GB, free: 4.484 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.06192, allocations: 4.188 kB / 0.9412 GB, free: 4.48 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004734/0.0624, allocations: 407.8 kB / 0.9415 GB, free: 4.074 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.06373, allocations: 0.6162 MB / 0.9421 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.06646, allocations: 2.547 MB / 0.9446 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.06664, allocations: 302.4 kB / 0.9449 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005848/0.06722, allocations: 331 kB / 0.9452 GB, free: 208 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.06751, allocations: 160.3 kB / 0.9454 GB, free: 44 kB / 0.9011 GB Notification: Performance of SimCode: time 5.51e-07/0.06751, allocations: 0 / 0.9454 GB, free: 44 kB / 0.9011 GB Notification: Performance of Templates: time 0.02665/0.09416, allocations: 24.88 MB / 0.9697 GB, free: 7.777 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: 6.315954819787294]