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.002192/0.002192, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002831/0.002831, allocations: 217 kB / 22.25 MB, free: 4.855 MB / 14.72 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.303/3.303, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 77.47 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4267, allocations: 176.1 MB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06609/0.4928, allocations: 50.43 MB / 1.375 GB, free: 15.22 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01789/0.5107, allocations: 9.754 MB / 1.384 GB, free: 5.445 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.5131, allocations: 95.19 kB / 1.384 GB, free: 5.352 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003048/0.5161, allocations: 0.9047 MB / 1.385 GB, free: 4.441 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007056/0.5232, allocations: 2.072 MB / 1.387 GB, free: 2.359 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006076/0.5293, allocations: 2.025 MB / 1.389 GB, free: 344 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00641/0.5357, allocations: 3.808 MB / 1.393 GB, free: 12.51 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.538, allocations: 0.9669 MB / 1.394 GB, free: 11.51 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/0.543, allocations: 1.984 MB / 1.396 GB, free: 9.52 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003345/0.5463, allocations: 1.206 MB / 1.397 GB, free: 8.309 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008204/0.5472, allocations: 108 kB / 1.397 GB, free: 8.203 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005368/0.5525, allocations: 1.037 MB / 1.398 GB, free: 7.164 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.5537, allocations: 410.3 kB / 1.399 GB, free: 6.762 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002414/0.5561, allocations: 0.7073 MB / 1.399 GB, free: 6.051 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.5679, allocations: 2.432 MB / 1.402 GB, free: 3.609 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.428e-05/0.568, allocations: 0 / 1.402 GB, free: 3.609 MB / 1.092 GB Notification: Performance of FrontEnd: time 5.35e-06/0.568, allocations: 0 / 1.402 GB, free: 3.609 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002454/0.5682, allocations: 0 / 1.402 GB, free: 3.609 MB / 1.092 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.01047/0.5787, allocations: 2.126 MB / 1.404 GB, free: 1.434 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.5787, allocations: 8.031 kB / 1.404 GB, free: 1.426 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.5851, allocations: 0.666 MB / 1.404 GB, free: 0.7578 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004952/0.59, allocations: 1.08 MB / 1.405 GB, free: 15.63 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.5902, allocations: 81.89 kB / 1.406 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004609/0.5907, allocations: 112 kB / 1.406 GB, free: 15.45 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005786/0.5964, allocations: 1.504 MB / 1.407 GB, free: 13.79 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-05/0.5965, allocations: 11.88 kB / 1.407 GB, free: 13.77 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/0.5967, allocations: 51.92 kB / 1.407 GB, free: 13.72 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-05/0.5968, allocations: 32 kB / 1.407 GB, free: 13.69 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005909/0.6027, allocations: 1.233 MB / 1.408 GB, free: 12.46 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01562/0.6183, allocations: 6.409 MB / 1.415 GB, free: 5.828 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00556/0.6239, allocations: 1.066 MB / 1.416 GB, free: 4.754 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00281/0.6267, allocations: 0.5356 MB / 1.416 GB, free: 4.211 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00157/0.6282, allocations: 282.2 kB / 1.416 GB, free: 3.938 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003022/0.6313, allocations: 0.6802 MB / 1.417 GB, free: 3.246 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 4.679e-06/0.6313, allocations: 0 / 1.417 GB, free: 3.246 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.009252/0.6405, allocations: 1.815 MB / 1.419 GB, free: 1.43 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.6406, allocations: 60.41 kB / 1.419 GB, free: 1.355 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.6443, allocations: 1.404 MB / 1.42 GB, free: 15.93 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.6444, allocations: 41.7 kB / 1.42 GB, free: 15.88 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.6456, allocations: 0.8185 MB / 1.421 GB, free: 15.05 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005211/0.6462, allocations: 309.4 kB / 1.421 GB, free: 14.75 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006296/0.6468, allocations: 222.8 kB / 1.422 GB, free: 14.53 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002327/0.647, allocations: 357.7 kB / 1.422 GB, free: 14.18 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/0.6498, allocations: 0.5256 MB / 1.423 GB, free: 13.65 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003511/0.6533, allocations: 1.129 MB / 1.424 GB, free: 12.3 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006055/0.6594, allocations: 1.426 MB / 1.425 GB, free: 10.72 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-05/0.6594, allocations: 8 kB / 1.425 GB, free: 10.71 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00744/0.6668, allocations: 1.606 MB / 1.427 GB, free: 9.102 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/0.6669, allocations: 15.98 kB / 1.427 GB, free: 9.086 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/0.6669, allocations: 8 kB / 1.427 GB, free: 9.078 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.393e-05/0.667, allocations: 24.06 kB / 1.427 GB, free: 9.055 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/0.6691, allocations: 343.5 kB / 1.427 GB, free: 8.719 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.026e-05/0.6692, allocations: 27.86 kB / 1.427 GB, free: 8.691 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/0.6719, allocations: 207.1 kB / 1.427 GB, free: 8.488 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/0.6722, allocations: 75.94 kB / 1.427 GB, free: 8.414 MB / 1.123 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.001379/0.6736, allocations: 335.4 kB / 1.428 GB, free: 8.078 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009503/0.6745, allocations: 166.9 kB / 1.428 GB, free: 7.914 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008742/0.6833, allocations: 2.173 MB / 1.43 GB, free: 5.73 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.725e-05/0.6833, allocations: 23.97 kB / 1.43 GB, free: 5.707 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.6833, allocations: 0 / 1.43 GB, free: 5.707 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.842e-05/0.6834, allocations: 7.922 kB / 1.43 GB, free: 5.699 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.6948, allocations: 3.113 MB / 1.433 GB, free: 2.52 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.6948, allocations: 4 kB / 1.433 GB, free: 2.516 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/0.6965, allocations: 239.8 kB / 1.433 GB, free: 2.281 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.142e-05/0.6966, allocations: 11.94 kB / 1.433 GB, free: 2.27 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.6967, allocations: 35.97 kB / 1.433 GB, free: 2.234 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.789e-05/0.6968, allocations: 12.03 kB / 1.433 GB, free: 2.223 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.6968, allocations: 3.938 kB / 1.433 GB, free: 2.219 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009612/0.7064, allocations: 2.81 MB / 1.436 GB, free: 15.37 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.7076, allocations: 318.3 kB / 1.436 GB, free: 15.06 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004956/0.7081, allocations: 20 kB / 1.436 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/0.7101, allocations: 119.9 kB / 1.436 GB, free: 14.92 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/0.7104, allocations: 84.84 kB / 1.437 GB, free: 14.84 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/0.7106, allocations: 47.97 kB / 1.437 GB, free: 14.79 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002106/0.7127, allocations: 0.9365 MB / 1.437 GB, free: 13.86 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7127, allocations: 0 / 1.437 GB, free: 13.86 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002757/0.7154, allocations: 0.5651 MB / 1.438 GB, free: 13.29 MB / 1.139 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 (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.003325/0.7187, allocations: 0.8483 MB / 1.439 GB, free: 12.62 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005693/0.7244, allocations: 1.461 MB / 1.44 GB, free: 11.17 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.7244, allocations: 3.938 kB / 1.44 GB, free: 11.16 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002846/0.7273, allocations: 0.7793 MB / 1.441 GB, free: 10.38 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/0.7313, allocations: 0.6143 MB / 1.442 GB, free: 9.785 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008671/0.74, allocations: 3.217 MB / 1.445 GB, free: 6.516 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.7411, allocations: 0.7384 MB / 1.446 GB, free: 5.746 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00203/0.7431, allocations: 347.4 kB / 1.446 GB, free: 5.402 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005693/0.7437, allocations: 159.3 kB / 1.446 GB, free: 5.246 MB / 1.139 GB Notification: Performance of SimCode: time 1.313e-06/0.7437, allocations: 0 / 1.446 GB, free: 5.246 MB / 1.139 GB Notification: Performance of Templates: time 0.06597/0.8097, allocations: 33.04 MB / 1.478 GB, free: 4.891 MB / 1.17 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.0662177875638]