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.001571/0.001571, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001929/0.001929, allocations: 220.5 kB / 23 MB, free: 4.918 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.232/3.232, allocations: 0.4892 GB / 0.7951 GB, free: 35.69 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.002815/0.002815, allocations: 73.98 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3849, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05823/0.4431, allocations: 50.43 MB / 1.376 GB, free: 15.22 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.4603, allocations: 9.749 MB / 1.385 GB, free: 5.449 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.4626, allocations: 99.12 kB / 1.385 GB, free: 5.352 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.4655, allocations: 0.9086 MB / 1.386 GB, free: 4.438 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006721/0.4722, allocations: 2.072 MB / 1.388 GB, free: 2.355 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006296/0.4785, allocations: 2.02 MB / 1.39 GB, free: 344 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006979/0.4854, allocations: 3.808 MB / 1.394 GB, free: 12.51 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002678/0.4881, allocations: 0.9708 MB / 1.395 GB, free: 11.51 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005209/0.4933, allocations: 1.988 MB / 1.397 GB, free: 9.512 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002592/0.4959, allocations: 1.206 MB / 1.398 GB, free: 8.301 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005443/0.4965, allocations: 108 kB / 1.398 GB, free: 8.195 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.4997, allocations: 1.037 MB / 1.399 GB, free: 7.156 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006602/0.5004, allocations: 406.3 kB / 1.399 GB, free: 6.758 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0015/0.5019, allocations: 0.7033 MB / 1.4 GB, free: 6.051 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005019/0.5069, allocations: 2.436 MB / 1.402 GB, free: 3.605 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5069, allocations: 0 / 1.402 GB, free: 3.605 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5069, allocations: 0 / 1.402 GB, free: 3.605 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.095e-05/0.5069, allocations: 0 / 1.402 GB, free: 3.605 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.003901/0.5108, allocations: 2.126 MB / 1.405 GB, free: 1.43 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5109, allocations: 8.031 kB / 1.405 GB, free: 1.422 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003674/0.5145, allocations: 0.6621 MB / 1.405 GB, free: 0.7578 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.5171, allocations: 1.076 MB / 1.406 GB, free: 15.64 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.27e-05/0.5172, allocations: 94.06 kB / 1.406 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.5174, allocations: 108 kB / 1.406 GB, free: 15.44 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003258/0.5206, allocations: 1.5 MB / 1.408 GB, free: 13.79 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.5207, allocations: 7.938 kB / 1.408 GB, free: 13.78 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.5208, allocations: 51.92 kB / 1.408 GB, free: 13.73 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.5208, allocations: 28 kB / 1.408 GB, free: 13.7 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003653/0.5245, allocations: 1.233 MB / 1.409 GB, free: 12.46 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.5347, allocations: 6.417 MB / 1.415 GB, free: 5.828 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/0.5382, allocations: 1.062 MB / 1.416 GB, free: 4.758 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.5398, allocations: 0.5335 MB / 1.417 GB, free: 4.215 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.5408, allocations: 290.1 kB / 1.417 GB, free: 3.934 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001872/0.5427, allocations: 0.684 MB / 1.418 GB, free: 3.238 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 3.837e-06/0.5427, allocations: 4 kB / 1.418 GB, free: 3.234 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.005637/0.5483, allocations: 1.799 MB / 1.42 GB, free: 1.434 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.5484, allocations: 64.41 kB / 1.42 GB, free: 1.355 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.5505, allocations: 1.4 MB / 1.421 GB, free: 15.93 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.5506, allocations: 49.69 kB / 1.421 GB, free: 15.88 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007361/0.5513, allocations: 0.8146 MB / 1.422 GB, free: 15.05 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.5517, allocations: 313.3 kB / 1.422 GB, free: 14.75 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.552, allocations: 226.8 kB / 1.422 GB, free: 14.52 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.5522, allocations: 345.9 kB / 1.423 GB, free: 14.18 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.5538, allocations: 0.5295 MB / 1.423 GB, free: 13.64 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.556, allocations: 1.137 MB / 1.424 GB, free: 12.29 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00367/0.5597, allocations: 1.426 MB / 1.426 GB, free: 10.71 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.5597, allocations: 4 kB / 1.426 GB, free: 10.71 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004548/0.5642, allocations: 1.613 MB / 1.427 GB, free: 9.086 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.5643, allocations: 9.875 kB / 1.427 GB, free: 9.078 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.5643, allocations: 12 kB / 1.427 GB, free: 9.066 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.811e-05/0.5643, allocations: 20 kB / 1.427 GB, free: 9.047 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.5658, allocations: 339.5 kB / 1.428 GB, free: 8.715 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.283e-05/0.5658, allocations: 27.92 kB / 1.428 GB, free: 8.688 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.5673, allocations: 203.2 kB / 1.428 GB, free: 8.488 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.5674, allocations: 67.95 kB / 1.428 GB, free: 8.422 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.0006564/0.5681, allocations: 343.3 kB / 1.428 GB, free: 8.078 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/0.5684, allocations: 170.9 kB / 1.429 GB, free: 7.91 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00527/0.5737, allocations: 2.177 MB / 1.431 GB, free: 5.723 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.628e-05/0.5737, allocations: 19.98 kB / 1.431 GB, free: 5.703 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5738, allocations: 0 / 1.431 GB, free: 5.703 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.5738, allocations: 3.984 kB / 1.431 GB, free: 5.699 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007109/0.5809, allocations: 3.117 MB / 1.434 GB, free: 2.516 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.5809, allocations: 4.031 kB / 1.434 GB, free: 2.512 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.5821, allocations: 239.6 kB / 1.434 GB, free: 2.277 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.5821, allocations: 4 kB / 1.434 GB, free: 2.273 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.169e-05/0.5822, allocations: 43.91 kB / 1.434 GB, free: 2.23 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.5822, allocations: 8 kB / 1.434 GB, free: 2.223 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5822, allocations: 4 kB / 1.434 GB, free: 2.219 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006776/0.589, allocations: 2.81 MB / 1.437 GB, free: 15.37 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008239/0.5898, allocations: 306.4 kB / 1.437 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.59, allocations: 27.94 kB / 1.437 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.5911, allocations: 127.8 kB / 1.437 GB, free: 14.92 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.5913, allocations: 84.84 kB / 1.437 GB, free: 14.84 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.5914, allocations: 44.06 kB / 1.437 GB, free: 14.79 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00137/0.5928, allocations: 0.9404 MB / 1.438 GB, free: 13.86 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5928, allocations: 4 kB / 1.438 GB, free: 13.85 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001868/0.5946, allocations: 0.5651 MB / 1.439 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.002628/0.5973, allocations: 0.8535 MB / 1.44 GB, free: 12.61 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004289/0.6016, allocations: 1.457 MB / 1.441 GB, free: 11.16 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.6016, allocations: 0 / 1.441 GB, free: 11.16 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002169/0.6037, allocations: 0.7793 MB / 1.442 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.002983/0.6067, allocations: 0.6051 MB / 1.442 GB, free: 9.789 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006496/0.6132, allocations: 3.288 MB / 1.446 GB, free: 6.441 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008129/0.614, allocations: 0.7331 MB / 1.446 GB, free: 5.68 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006609/0.6147, allocations: 171.3 kB / 1.447 GB, free: 5.512 MB / 1.139 GB Notification: Performance of SimCode: time 1.112e-06/0.6147, allocations: 0 / 1.447 GB, free: 5.512 MB / 1.139 GB Notification: Performance of Templates: time 0.04832/0.663, allocations: 28.31 MB / 1.474 GB, free: 9.434 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/jenkins1/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: 15.95607602596283]