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.0009377/0.0009377, allocations: 80.75 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.001049/0.001049, allocations: 181 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 0.9746/0.9746, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.51/2.51, allocations: 438.8 MB / 0.6827 GB, free: 13.55 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.864e-06/1.864e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.362e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01578/0.01581, allocations: 13.48 MB / 0.8518 GB, free: 0.5547 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.02636, allocations: 5.065 MB / 0.8568 GB, free: 11.48 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.0285, allocations: 91.19 kB / 0.8569 GB, free: 11.39 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.03013, allocations: 0.621 MB / 0.8575 GB, free: 10.76 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004754/0.03489, allocations: 1.554 MB / 0.859 GB, free: 9.199 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.03879, allocations: 1.493 MB / 0.8604 GB, free: 7.703 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003998/0.04279, allocations: 3.756 MB / 0.8641 GB, free: 3.934 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.04403, allocations: 0.9471 MB / 0.865 GB, free: 2.961 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.04609, allocations: 1.816 MB / 0.8668 GB, free: 1.141 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.04716, allocations: 0.9619 MB / 0.8677 GB, free: 180 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.04731, allocations: 104 kB / 0.8678 GB, free: 76 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006254/0.04794, allocations: 327.5 kB / 0.8682 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.0482, allocations: 418.2 kB / 0.8686 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0005884/0.04879, allocations: 0.5649 MB / 0.8691 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.05052, allocations: 1.405 MB / 0.8705 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.05052, allocations: 4 kB / 0.8705 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.472e-06/0.05052, allocations: 0 / 0.8705 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.742e-05/0.05055, 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.002645/0.0532, allocations: 1.96 MB / 0.8724 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.05324, allocations: 8.625 kB / 0.8724 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.05521, allocations: 0.5033 MB / 0.8729 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.05688, allocations: 1.006 MB / 0.8739 GB, free: 9.789 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/0.05696, allocations: 86.14 kB / 0.874 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.0571, allocations: 112 kB / 0.8741 GB, free: 9.594 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.0587, allocations: 1.112 MB / 0.8752 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.05873, allocations: 7.938 kB / 0.8752 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/0.05881, allocations: 51.98 kB / 0.8752 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.05884, allocations: 28 kB / 0.8752 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007526/0.05959, allocations: 424 kB / 0.8756 GB, free: 7.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005473/0.06507, allocations: 5.333 MB / 0.8809 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.06625, allocations: 0.4931 MB / 0.8813 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.06656, allocations: 165.6 kB / 0.8815 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003235/0.06688, allocations: 92.52 kB / 0.8816 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005722/0.06745, allocations: 351.3 kB / 0.8819 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=85): time 4.449e-06/0.06746, allocations: 3.938 kB / 0.8819 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85): time 0.001244/0.0687, allocations: 0.5452 MB / 0.8824 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.06875, allocations: 68.39 kB / 0.8825 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.06991, allocations: 1.119 MB / 0.8836 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.109e-05/0.06998, allocations: 41.7 kB / 0.8836 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.0704, allocations: 0.575 MB / 0.8842 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.07066, allocations: 309.4 kB / 0.8845 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/0.07095, allocations: 214.7 kB / 0.8847 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.07106, allocations: 353.8 kB / 0.885 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.07134, allocations: 137.4 kB / 0.8852 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005844/0.07193, allocations: 0.7311 MB / 0.8859 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.07293, allocations: 0.7326 MB / 0.8866 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.07294, allocations: 4 kB / 0.8866 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001184/0.07412, allocations: 0.7007 MB / 0.8873 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.07414, allocations: 8.938 kB / 0.8873 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.07416, allocations: 12 kB / 0.8873 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/0.07419, allocations: 16 kB / 0.8873 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/0.07514, allocations: 315.5 kB / 0.8876 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.07516, allocations: 27.92 kB / 0.8877 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/0.07602, allocations: 159.1 kB / 0.8878 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.07614, allocations: 47.97 kB / 0.8879 GB, free: 10.62 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.0003496/0.07649, allocations: 198.2 kB / 0.888 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.0767, allocations: 127.8 kB / 0.8882 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.0784, allocations: 0.9678 MB / 0.8891 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/0.07842, allocations: 19.98 kB / 0.8891 GB, free: 9.297 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.07842, allocations: 0 / 0.8891 GB, free: 9.297 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.07844, allocations: 3.984 kB / 0.8891 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.08117, allocations: 1.74 MB / 0.8908 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.08118, allocations: 0 / 0.8908 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/0.08191, allocations: 195.8 kB / 0.891 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.08192, allocations: 8 kB / 0.891 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.728e-05/0.082, allocations: 27.97 kB / 0.8911 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.08201, allocations: 7.938 kB / 0.8911 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.08202, allocations: 7.984 kB / 0.8911 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.08354, allocations: 0.9986 MB / 0.892 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/0.08389, allocations: 222.5 kB / 0.8923 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.084, allocations: 27.94 kB / 0.8923 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.08437, allocations: 75.88 kB / 0.8924 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.893e-05/0.08447, allocations: 68.86 kB / 0.8924 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.217e-05/0.08453, allocations: 39.95 kB / 0.8925 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004651/0.08499, allocations: 0.5661 MB / 0.893 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.08499, allocations: 4 kB / 0.893 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001013/0.08601, allocations: 423.3 kB / 0.8934 GB, free: 4.762 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.001431/0.08744, allocations: 0.5943 MB / 0.894 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008268/0.08826, allocations: 0.5896 MB / 0.8946 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.26e-05/0.08829, allocations: 24.69 kB / 0.8946 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.08864, allocations: 320.9 kB / 0.8949 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.08997, allocations: 0.6177 MB / 0.8955 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.0931, allocations: 2.479 MB / 0.8979 GB, free: 316 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.09331, allocations: 306.4 kB / 0.8982 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007919/0.09411, allocations: 303.1 kB / 0.8985 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009764/0.09508, allocations: 0.5359 MB / 0.899 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of SimCode: time 1.463e-06/0.09508, allocations: 0 / 0.899 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of Templates: time 0.03477/0.1299, allocations: 27.55 MB / 0.9259 GB, free: 4.281 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 -s gbode -gbm=radauIIA3 -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.033182644750923]