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.00106/0.00106, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001159/0.001159, allocations: 173 kB / 23.49 MB, free: 1.055 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.021/1.021, allocations: 177.1 MB / 203.8 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.115/2.115, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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 3.657e-06/3.657e-06, allocations: 4 kB / 0.8782 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.45e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.04121/0.04124, allocations: 56.67 MB / 0.9336 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.05287, allocations: 10.68 MB / 0.944 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.05418, allocations: 91.19 kB / 0.9441 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.05582, allocations: 0.9122 MB / 0.945 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003486/0.05931, allocations: 2.129 MB / 0.9471 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.06282, allocations: 2.118 MB / 0.9491 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00293/0.06575, allocations: 3.771 MB / 0.9528 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009291/0.06668, allocations: 0.992 MB / 0.9538 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.0692, allocations: 2.425 MB / 0.9561 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009886/0.07019, allocations: 1.063 MB / 0.9572 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.07032, allocations: 107.9 kB / 0.9573 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.07201, allocations: 1.06 MB / 0.9583 GB, free: 4.312 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.07226, allocations: 414.2 kB / 0.9587 GB, free: 3.906 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004247/0.07269, allocations: 0.5766 MB / 0.9593 GB, free: 3.324 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.0745, allocations: 1.973 MB / 0.9612 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.07451, allocations: 0 / 0.9612 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.71e-07/0.07451, allocations: 0 / 0.9612 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.07453, allocations: 0 / 0.9612 GB, free: 1.344 MB / 0.9167 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.002225/0.07675, allocations: 2.192 MB / 0.9634 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.07679, allocations: 16.03 kB / 0.9634 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.07836, allocations: 0.631 MB / 0.964 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.07956, allocations: 1.13 MB / 0.9651 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/0.07961, allocations: 82.14 kB / 0.9652 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.07973, allocations: 112 kB / 0.9653 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.08118, allocations: 1.306 MB / 0.9665 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.08121, allocations: 11.94 kB / 0.9666 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/0.08128, allocations: 48 kB / 0.9666 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.0813, allocations: 28 kB / 0.9666 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008834/0.08218, allocations: 0.5733 MB / 0.9672 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004753/0.08693, allocations: 7.951 MB / 0.975 GB, free: 2.684 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.08803, allocations: 0.5871 MB / 0.9755 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.08835, allocations: 228.8 kB / 0.9757 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005028/0.08885, allocations: 282.2 kB / 0.976 GB, free: 1.586 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005006/0.08935, allocations: 386.2 kB / 0.9764 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=85): time 2.585e-06/0.08935, allocations: 0 / 0.9764 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of matching and sorting (n=85): time 0.001476/0.09083, allocations: 0.9095 MB / 0.9773 GB, free: 292 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.09087, allocations: 60.41 kB / 0.9773 GB, free: 220 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000963/0.09183, allocations: 1.239 MB / 0.9785 GB, free: 14.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.09188, allocations: 45.64 kB / 0.9786 GB, free: 14.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/0.09231, allocations: 0.8577 MB / 0.9794 GB, free: 14.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.09249, allocations: 313.4 kB / 0.9797 GB, free: 13.71 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.0927, allocations: 240.4 kB / 0.9799 GB, free: 13.47 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.09283, allocations: 0.516 MB / 0.9805 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.09317, allocations: 202.5 kB / 0.9806 GB, free: 12.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006431/0.09381, allocations: 0.9478 MB / 0.9816 GB, free: 11.52 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.09472, allocations: 0.9396 MB / 0.9825 GB, free: 10.37 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.09473, allocations: 4 kB / 0.9825 GB, free: 10.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00137/0.0961, allocations: 1.023 MB / 0.9835 GB, free: 9.328 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.09612, allocations: 8.969 kB / 0.9835 GB, free: 9.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.09613, allocations: 12 kB / 0.9835 GB, free: 9.309 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.09615, allocations: 20 kB / 0.9835 GB, free: 9.289 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.09678, allocations: 303.5 kB / 0.9838 GB, free: 8.992 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.09679, allocations: 27.86 kB / 0.9838 GB, free: 8.965 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.09728, allocations: 163.2 kB / 0.984 GB, free: 8.805 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.803e-05/0.09736, allocations: 67.97 kB / 0.9841 GB, free: 8.738 MB / 0.948 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.0002598/0.09762, allocations: 242.1 kB / 0.9843 GB, free: 8.492 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.0978, allocations: 191 kB / 0.9845 GB, free: 8.305 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.09953, allocations: 1.361 MB / 0.9858 GB, free: 6.934 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.09956, allocations: 23.98 kB / 0.9858 GB, free: 6.91 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.09956, allocations: 0 / 0.9858 GB, free: 6.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.09957, allocations: 7.969 kB / 0.9858 GB, free: 6.902 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.102, allocations: 2.243 MB / 0.988 GB, free: 4.594 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.102, allocations: 0 / 0.988 GB, free: 4.594 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/0.1025, allocations: 207.9 kB / 0.9882 GB, free: 4.391 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.1025, allocations: 4 kB / 0.9882 GB, free: 4.387 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.1026, allocations: 39.95 kB / 0.9883 GB, free: 4.348 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.1026, allocations: 4 kB / 0.9883 GB, free: 4.344 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.1026, allocations: 11.88 kB / 0.9883 GB, free: 4.332 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.1044, allocations: 1.502 MB / 0.9898 GB, free: 2.781 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.1047, allocations: 306.3 kB / 0.99 GB, free: 2.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.1048, allocations: 23.98 kB / 0.9901 GB, free: 2.457 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.1052, allocations: 83.86 kB / 0.9901 GB, free: 2.375 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.1054, allocations: 84.8 kB / 0.9902 GB, free: 2.289 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-05/0.1055, allocations: 55.95 kB / 0.9903 GB, free: 2.234 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005976/0.1061, allocations: 0.7368 MB / 0.991 GB, free: 1.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1061, allocations: 0 / 0.991 GB, free: 1.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001016/0.1071, allocations: 0.5651 MB / 0.9916 GB, free: 0.9336 MB / 0.948 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.001389/0.1085, allocations: 0.8222 MB / 0.9924 GB, free: 256 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.1095, allocations: 0.7616 MB / 0.9931 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1095, allocations: 128 / 0.9931 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000531/0.1101, allocations: 452 kB / 0.9935 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.1115, allocations: 0.6131 MB / 0.9941 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.1145, allocations: 2.637 MB / 0.9967 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.1147, allocations: 314.5 kB / 0.997 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006654/0.1154, allocations: 327.1 kB / 0.9973 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/0.1158, allocations: 156.4 kB / 0.9975 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of SimCode: time 1.032e-06/0.1158, allocations: 0 / 0.9975 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of Templates: time 0.03088/0.1466, allocations: 30.17 MB / 1.027 GB, free: 13.37 MB / 0.9948 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.134045049082488]