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.0009258/0.0009258, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001028/0.001028, allocations: 177 kB / 23.36 MB, free: 1.133 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/1, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.389/2.389, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.493e-06/1.493e-06, allocations: 0 / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.598e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01433/0.01436, allocations: 13.42 MB / 0.8517 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.02441, allocations: 5.065 MB / 0.8567 GB, free: 11.58 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.02582, allocations: 95.12 kB / 0.8568 GB, free: 11.48 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.02683, allocations: 0.6133 MB / 0.8574 GB, free: 10.87 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.02918, allocations: 1.558 MB / 0.8589 GB, free: 9.301 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.0314, allocations: 1.501 MB / 0.8604 GB, free: 7.797 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003081/0.03448, allocations: 3.767 MB / 0.864 GB, free: 4.016 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.03555, allocations: 1.002 MB / 0.865 GB, free: 2.988 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.03733, allocations: 1.859 MB / 0.8668 GB, free: 1.125 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009153/0.03825, allocations: 0.9696 MB / 0.8678 GB, free: 156 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.03839, allocations: 104 kB / 0.8679 GB, free: 52 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005072/0.03889, allocations: 323.5 kB / 0.8682 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.03915, allocations: 410.2 kB / 0.8686 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0004794/0.03963, allocations: 0.5649 MB / 0.8691 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.04079, allocations: 1.405 MB / 0.8705 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.04079, allocations: 0 / 0.8705 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.393e-06/0.04079, allocations: 0 / 0.8705 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.388e-05/0.04081, allocations: 0 / 0.8705 GB, free: 13.36 MB / 0.8386 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.001947/0.04276, allocations: 1.964 MB / 0.8724 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.04279, allocations: 8.625 kB / 0.8724 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.04395, allocations: 0.4955 MB / 0.8729 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.04515, allocations: 1.018 MB / 0.8739 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.016e-05/0.04523, allocations: 86.12 kB / 0.874 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.04533, allocations: 108 kB / 0.8741 GB, free: 9.582 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.04647, allocations: 1.116 MB / 0.8752 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.0465, allocations: 7.938 kB / 0.8752 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.04655, allocations: 44 kB / 0.8752 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.04657, allocations: 28 kB / 0.8753 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005729/0.04715, allocations: 432 kB / 0.8757 GB, free: 7.805 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.05117, allocations: 5.333 MB / 0.8809 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007245/0.05189, allocations: 497.7 kB / 0.8814 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.0521, allocations: 165.6 kB / 0.8815 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.0523, allocations: 96.5 kB / 0.8816 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003401/0.05264, allocations: 343.3 kB / 0.8819 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=85): time 2.074e-06/0.05264, allocations: 0 / 0.8819 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85): time 0.000708/0.05335, allocations: 0.5413 MB / 0.8825 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.05338, allocations: 64.41 kB / 0.8825 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006917/0.05407, allocations: 1.135 MB / 0.8836 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.05412, allocations: 41.7 kB / 0.8837 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.05438, allocations: 0.5749 MB / 0.8842 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.05453, allocations: 305.4 kB / 0.8845 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.05471, allocations: 218.7 kB / 0.8847 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.0548, allocations: 353.8 kB / 0.8851 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.05499, allocations: 133.4 kB / 0.8852 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.05538, allocations: 0.7389 MB / 0.8859 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005796/0.05596, allocations: 0.7287 MB / 0.8866 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.05597, allocations: 8 kB / 0.8866 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0009773/0.05695, allocations: 0.701 MB / 0.8873 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.05696, allocations: 8 kB / 0.8873 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.05697, allocations: 15.98 kB / 0.8873 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.05699, allocations: 16 kB / 0.8874 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.05754, allocations: 292.1 kB / 0.8876 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.05755, allocations: 27.86 kB / 0.8877 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.05797, allocations: 151.1 kB / 0.8878 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.05804, allocations: 55.97 kB / 0.8879 GB, free: 10.63 MB / 0.8542 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.0002166/0.05826, allocations: 198.3 kB / 0.8881 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.05838, allocations: 119.8 kB / 0.8882 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.05943, allocations: 0.9678 MB / 0.8891 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.05944, allocations: 19.98 kB / 0.8891 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.05945, allocations: 0 / 0.8891 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.05945, allocations: 3.984 kB / 0.8891 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.06109, allocations: 1.74 MB / 0.8908 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.0611, allocations: 0 / 0.8908 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.06151, allocations: 179.7 kB / 0.891 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.06152, allocations: 8 kB / 0.891 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.06156, allocations: 36.14 kB / 0.891 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.06157, allocations: 7.938 kB / 0.8911 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.06157, allocations: 4 kB / 0.8911 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009384/0.06251, allocations: 0.9947 MB / 0.892 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.06275, allocations: 226.4 kB / 0.8922 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.06285, allocations: 24 kB / 0.8923 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.06318, allocations: 67.88 kB / 0.8923 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.06326, allocations: 76.8 kB / 0.8924 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/0.06331, allocations: 43.95 kB / 0.8924 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003807/0.06369, allocations: 0.5622 MB / 0.893 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.06369, allocations: 4 kB / 0.893 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006042/0.0643, allocations: 423.3 kB / 0.8934 GB, free: 4.793 MB / 0.8542 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.001215/0.06551, allocations: 0.5959 MB / 0.894 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008644/0.06638, allocations: 0.6 MB / 0.8946 GB, free: 3.828 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.739e-05/0.06639, allocations: 22 kB / 0.8946 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.06671, allocations: 321.3 kB / 0.8949 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.06787, allocations: 0.6054 MB / 0.8955 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.07023, allocations: 2.479 MB / 0.8979 GB, free: 348 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.0704, allocations: 302.4 kB / 0.8982 GB, free: 24 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005649/0.07097, allocations: 303.1 kB / 0.8985 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008396/0.07181, allocations: 0.5437 MB / 0.899 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of SimCode: time 5.61e-07/0.07181, allocations: 0 / 0.899 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of Templates: time 0.02905/0.1009, allocations: 27.56 MB / 0.9259 GB, free: 4.305 MB / 0.8855 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.952840568032116]