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.0009337/0.0009337, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001019/0.001019, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9454/0.9454, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.875/1.875, allocations: 377.9 MB / 0.624 GB, free: 8.418 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.513e-06/1.513e-06, allocations: 0 / 0.812 GB, free: 292 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.721e-05, allocations: 2.312 kB / 0.812 GB, free: 288 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01297/0.013, allocations: 13.43 MB / 0.8251 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.008236/0.02123, allocations: 4.98 MB / 0.83 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.02286, allocations: 96.78 kB / 0.8301 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.02391, allocations: 0.6216 MB / 0.8307 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.02673, allocations: 1.569 MB / 0.8322 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002772/0.02951, allocations: 1.505 MB / 0.8337 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.004496/0.034, allocations: 3.849 MB / 0.8375 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.03537, allocations: 1.03 MB / 0.8385 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.03739, allocations: 1.89 MB / 0.8403 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008388/0.03823, allocations: 1.032 MB / 0.8413 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.03835, allocations: 104 kB / 0.8414 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005852/0.03893, allocations: 323.5 kB / 0.8417 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003651/0.0393, allocations: 414.2 kB / 0.8421 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000404/0.0397, allocations: 0.5688 MB / 0.8427 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.04085, allocations: 1.413 MB / 0.8441 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.04085, allocations: 0 / 0.8441 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.553e-06/0.04085, allocations: 0 / 0.8441 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.04086, allocations: 0 / 0.8441 GB, free: 15.43 MB / 0.7605 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.00174/0.0426, allocations: 2.122 MB / 0.8461 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.04264, allocations: 8.031 kB / 0.8461 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.04394, allocations: 0.6076 MB / 0.8467 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.04508, allocations: 1.138 MB / 0.8478 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.885e-05/0.04513, allocations: 86.14 kB / 0.8479 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.04523, allocations: 108 kB / 0.848 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.0467, allocations: 1.212 MB / 0.8492 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.04672, allocations: 3.938 kB / 0.8492 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-05/0.04677, allocations: 44 kB / 0.8493 GB, free: 9.789 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.04679, allocations: 31.94 kB / 0.8493 GB, free: 9.758 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.04731, allocations: 473 kB / 0.8497 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004469/0.05178, allocations: 7.689 MB / 0.8573 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.05255, allocations: 0.4933 MB / 0.8577 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.05276, allocations: 197.4 kB / 0.8579 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002302/0.05299, allocations: 113.7 kB / 0.858 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003747/0.05337, allocations: 342.2 kB / 0.8584 GB, free: 196 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=85): time 2.675e-06/0.05337, allocations: 0 / 0.8584 GB, free: 196 kB / 0.7605 GB Notification: Performance of matching and sorting (n=85): time 0.001011/0.05438, allocations: 0.7962 MB / 0.8591 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.05441, allocations: 68.34 kB / 0.8592 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007862/0.0552, allocations: 1.212 MB / 0.8604 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.05525, allocations: 41.7 kB / 0.8604 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.05569, allocations: 0.8808 MB / 0.8613 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.05586, allocations: 313.4 kB / 0.8616 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.05606, allocations: 232.4 kB / 0.8618 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.0562, allocations: 0.5159 MB / 0.8623 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.0564, allocations: 158.5 kB / 0.8625 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008743/0.05728, allocations: 0.9009 MB / 0.8633 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006915/0.05797, allocations: 0.8575 MB / 0.8642 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.05797, allocations: 8 kB / 0.8642 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0009686/0.05894, allocations: 0.9413 MB / 0.8651 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.05896, allocations: 8 kB / 0.8651 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.05897, allocations: 12 kB / 0.8651 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.05899, allocations: 16 kB / 0.8651 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.05955, allocations: 300.2 kB / 0.8654 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.05957, allocations: 23.88 kB / 0.8654 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.06007, allocations: 159.1 kB / 0.8656 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.557e-05/0.06014, allocations: 59.95 kB / 0.8657 GB, free: 8.141 MB / 0.7761 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.0002396/0.06038, allocations: 230.3 kB / 0.8659 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.06054, allocations: 194.9 kB / 0.8661 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.06185, allocations: 1.143 MB / 0.8672 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.06187, allocations: 19.92 kB / 0.8672 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.06187, allocations: 0 / 0.8672 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.06188, allocations: 3.984 kB / 0.8672 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.06394, allocations: 2.077 MB / 0.8692 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.06394, allocations: 4 kB / 0.8692 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/0.06438, allocations: 183.9 kB / 0.8694 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.06438, allocations: 12 kB / 0.8694 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.06443, allocations: 35.97 kB / 0.8695 GB, free: 4.133 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.06444, allocations: 11.92 kB / 0.8695 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.06444, allocations: 4 kB / 0.8695 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.066, allocations: 1.249 MB / 0.8707 GB, free: 2.816 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.0663, allocations: 274.4 kB / 0.871 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.055e-05/0.06639, allocations: 24 kB / 0.871 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.06673, allocations: 75.88 kB / 0.871 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.06681, allocations: 80.78 kB / 0.8711 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.06686, allocations: 39.97 kB / 0.8712 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004321/0.0673, allocations: 0.6863 MB / 0.8718 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.0673, allocations: 0 / 0.8718 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007934/0.06809, allocations: 423.3 kB / 0.8722 GB, free: 1.234 MB / 0.7761 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.001043/0.06913, allocations: 486.2 kB / 0.8727 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007501/0.06988, allocations: 0.647 MB / 0.8733 GB, free: 256 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.06989, allocations: 0 / 0.8733 GB, free: 256 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.07027, allocations: 355.8 kB / 0.8737 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.07163, allocations: 0.647 MB / 0.8743 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.07474, allocations: 2.544 MB / 0.8768 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.07494, allocations: 302.5 kB / 0.8771 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0007407/0.07568, allocations: 307.2 kB / 0.8774 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009526/0.07663, allocations: 0.6305 MB / 0.878 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of SimCode: time 1.082e-06/0.07663, allocations: 0 / 0.878 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of Templates: time 0.03312/0.1097, allocations: 28.18 MB / 0.9055 GB, free: 15.94 MB / 0.823 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.802383405622095]