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.001279/0.001279, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001452/0.001452, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.146/3.146, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 177] 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.002103/0.002103, allocations: 70.52 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3453, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05615/0.4015, allocations: 50.43 MB / 1.376 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01582/0.4173, allocations: 9.751 MB / 1.386 GB, free: 4.547 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.4191, allocations: 91.19 kB / 1.386 GB, free: 4.457 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.4212, allocations: 0.9125 MB / 1.387 GB, free: 3.539 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005131/0.4263, allocations: 2.068 MB / 1.389 GB, free: 1.461 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004987/0.4313, allocations: 2.036 MB / 1.391 GB, free: 15.43 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004862/0.4361, allocations: 3.831 MB / 1.395 GB, free: 11.58 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.4376, allocations: 0.9864 MB / 1.396 GB, free: 10.56 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003809/0.4414, allocations: 1.988 MB / 1.398 GB, free: 8.562 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.4431, allocations: 1.264 MB / 1.399 GB, free: 7.293 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.4433, allocations: 108 kB / 1.399 GB, free: 7.188 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002588/0.4459, allocations: 1.045 MB / 1.4 GB, free: 6.141 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.4463, allocations: 418.2 kB / 1.4 GB, free: 5.73 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007707/0.4471, allocations: 0.7111 MB / 1.401 GB, free: 5.016 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003361/0.4505, allocations: 2.428 MB / 1.403 GB, free: 2.578 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4505, allocations: 0 / 1.403 GB, free: 2.578 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4505, allocations: 0 / 1.403 GB, free: 2.578 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.972e-05/0.4505, allocations: 0 / 1.403 GB, free: 2.578 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.003889/0.4544, allocations: 2.133 MB / 1.405 GB, free: 404 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.4544, allocations: 12.03 kB / 1.405 GB, free: 392 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003783/0.4582, allocations: 0.6582 MB / 1.406 GB, free: 15.72 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.4604, allocations: 1.08 MB / 1.407 GB, free: 14.6 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.978e-05/0.4605, allocations: 82.08 kB / 1.407 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.4607, allocations: 108 kB / 1.407 GB, free: 14.41 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003149/0.4638, allocations: 1.508 MB / 1.409 GB, free: 12.75 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.4638, allocations: 3.938 kB / 1.409 GB, free: 12.75 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.464, allocations: 48 kB / 1.409 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.464, allocations: 28 kB / 1.409 GB, free: 12.67 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003538/0.4675, allocations: 1.233 MB / 1.41 GB, free: 11.44 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008474/0.476, allocations: 6.421 MB / 1.416 GB, free: 4.797 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003363/0.4794, allocations: 1.066 MB / 1.417 GB, free: 3.723 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.4809, allocations: 0.5336 MB / 1.418 GB, free: 3.18 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.4819, allocations: 286.2 kB / 1.418 GB, free: 2.902 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00191/0.4839, allocations: 0.6761 MB / 1.419 GB, free: 2.215 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 3.306e-06/0.4839, allocations: 0 / 1.419 GB, free: 2.215 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.005379/0.4892, allocations: 1.807 MB / 1.421 GB, free: 412 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.4893, allocations: 60.41 kB / 1.421 GB, free: 336 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.4911, allocations: 1.408 MB / 1.422 GB, free: 14.9 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.688e-05/0.4912, allocations: 41.7 kB / 1.422 GB, free: 14.85 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007095/0.4919, allocations: 0.8185 MB / 1.423 GB, free: 14.03 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.4922, allocations: 309.4 kB / 1.423 GB, free: 13.72 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003629/0.4925, allocations: 226.8 kB / 1.423 GB, free: 13.5 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4927, allocations: 357.8 kB / 1.424 GB, free: 13.14 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.4943, allocations: 0.5256 MB / 1.424 GB, free: 12.61 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002101/0.4964, allocations: 1.137 MB / 1.425 GB, free: 11.26 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/0.4999, allocations: 1.418 MB / 1.427 GB, free: 9.691 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4999, allocations: 4 kB / 1.427 GB, free: 9.688 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004185/0.5041, allocations: 1.617 MB / 1.428 GB, free: 8.062 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.5041, allocations: 12 kB / 1.428 GB, free: 8.051 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.5041, allocations: 16.09 kB / 1.428 GB, free: 8.035 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.5041, allocations: 16 kB / 1.428 GB, free: 8.02 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.5056, allocations: 343.5 kB / 1.429 GB, free: 7.684 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/0.5057, allocations: 23.88 kB / 1.429 GB, free: 7.66 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.507, allocations: 211.1 kB / 1.429 GB, free: 7.453 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.5071, allocations: 64.06 kB / 1.429 GB, free: 7.391 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.000572/0.5077, allocations: 343.3 kB / 1.429 GB, free: 7.047 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.508, allocations: 170.9 kB / 1.429 GB, free: 6.879 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00524/0.5132, allocations: 2.169 MB / 1.432 GB, free: 4.699 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.179e-05/0.5132, allocations: 19.98 kB / 1.432 GB, free: 4.68 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5133, allocations: 0 / 1.432 GB, free: 4.68 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.5133, allocations: 7.984 kB / 1.432 GB, free: 4.672 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006582/0.5199, allocations: 3.113 MB / 1.435 GB, free: 1.492 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.5199, allocations: 4 kB / 1.435 GB, free: 1.488 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.5211, allocations: 239.8 kB / 1.435 GB, free: 1.254 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.5211, allocations: 8 kB / 1.435 GB, free: 1.246 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.349e-05/0.5212, allocations: 39.89 kB / 1.435 GB, free: 1.207 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.5212, allocations: 11.94 kB / 1.435 GB, free: 1.195 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5212, allocations: 0 / 1.435 GB, free: 1.195 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006503/0.5277, allocations: 2.81 MB / 1.438 GB, free: 14.35 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006415/0.5284, allocations: 310.4 kB / 1.438 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.5286, allocations: 31.88 kB / 1.438 GB, free: 14.01 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.5297, allocations: 119.8 kB / 1.438 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.5298, allocations: 84.84 kB / 1.438 GB, free: 13.81 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.5299, allocations: 51.95 kB / 1.438 GB, free: 13.76 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001286/0.5312, allocations: 0.9326 MB / 1.439 GB, free: 12.83 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5312, allocations: 0 / 1.439 GB, free: 12.83 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001604/0.5328, allocations: 0.569 MB / 1.44 GB, free: 12.26 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.002463/0.5353, allocations: 0.8505 MB / 1.441 GB, free: 11.59 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003985/0.5393, allocations: 1.457 MB / 1.442 GB, free: 10.14 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5393, allocations: 0 / 1.442 GB, free: 10.14 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.5413, allocations: 0.7832 MB / 1.443 GB, free: 9.352 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/0.5439, allocations: 0.6123 MB / 1.443 GB, free: 8.754 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00724/0.5511, allocations: 3.217 MB / 1.446 GB, free: 5.484 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009689/0.5521, allocations: 0.7384 MB / 1.447 GB, free: 4.715 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001671/0.5538, allocations: 347.3 kB / 1.448 GB, free: 4.371 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/0.5542, allocations: 159.3 kB / 1.448 GB, free: 4.215 MB / 1.139 GB Notification: Performance of SimCode: time 2.575e-06/0.5542, allocations: 4 kB / 1.448 GB, free: 4.211 MB / 1.139 GB Notification: Performance of Templates: time 0.05662/0.6108, allocations: 33.45 MB / 1.48 GB, free: 3.441 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 -s gbode -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: 9.896912276002695]