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.001564/0.001564, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001593/0.001593, allocations: 217.3 kB / 23.01 MB, free: 4.969 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.176/3.176, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.003288/0.003288, allocations: 70.84 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4044, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0598/0.4642, allocations: 50.43 MB / 1.376 GB, free: 14.33 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.4801, allocations: 9.747 MB / 1.386 GB, free: 4.559 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.4817, allocations: 95.12 kB / 1.386 GB, free: 4.465 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002073/0.4838, allocations: 0.9086 MB / 1.387 GB, free: 3.551 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005085/0.4888, allocations: 2.072 MB / 1.389 GB, free: 1.469 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00495/0.4938, allocations: 2.033 MB / 1.391 GB, free: 15.43 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005098/0.4989, allocations: 3.831 MB / 1.395 GB, free: 11.59 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.5005, allocations: 0.9864 MB / 1.396 GB, free: 10.57 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/0.5044, allocations: 1.988 MB / 1.398 GB, free: 8.57 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.5063, allocations: 1.264 MB / 1.399 GB, free: 7.301 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.5065, allocations: 108 kB / 1.399 GB, free: 7.195 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.5089, allocations: 1.053 MB / 1.4 GB, free: 6.141 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004451/0.5094, allocations: 410.2 kB / 1.4 GB, free: 5.738 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009345/0.5103, allocations: 0.7034 MB / 1.401 GB, free: 5.031 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.5141, allocations: 2.424 MB / 1.403 GB, free: 2.598 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5141, allocations: 0 / 1.403 GB, free: 2.598 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5141, allocations: 0 / 1.403 GB, free: 2.598 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.3e-05/0.5141, allocations: 0 / 1.403 GB, free: 2.598 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.004006/0.5181, allocations: 2.137 MB / 1.405 GB, free: 420 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.5181, allocations: 12.03 kB / 1.405 GB, free: 408 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00414/0.5223, allocations: 0.6582 MB / 1.406 GB, free: 15.73 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/0.5249, allocations: 1.08 MB / 1.407 GB, free: 14.62 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.525, allocations: 86.08 kB / 1.407 GB, free: 14.53 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.5252, allocations: 112 kB / 1.407 GB, free: 14.42 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003461/0.5287, allocations: 1.5 MB / 1.409 GB, free: 12.77 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.5287, allocations: 3.938 kB / 1.409 GB, free: 12.76 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.5289, allocations: 52 kB / 1.409 GB, free: 12.71 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.5289, allocations: 28 kB / 1.409 GB, free: 12.68 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/0.5326, allocations: 1.225 MB / 1.41 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009304/0.5419, allocations: 6.425 MB / 1.416 GB, free: 4.812 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003522/0.5454, allocations: 1.062 MB / 1.417 GB, free: 3.742 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/0.5471, allocations: 0.5336 MB / 1.418 GB, free: 3.199 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.5481, allocations: 286.2 kB / 1.418 GB, free: 2.922 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001969/0.5501, allocations: 0.6879 MB / 1.419 GB, free: 2.223 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 3.857e-06/0.5501, allocations: 0 / 1.419 GB, free: 2.223 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.005621/0.5557, allocations: 1.803 MB / 1.421 GB, free: 424 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.5558, allocations: 60.41 kB / 1.421 GB, free: 348 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.5578, allocations: 1.404 MB / 1.422 GB, free: 14.92 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.506e-05/0.5578, allocations: 45.7 kB / 1.422 GB, free: 14.87 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007469/0.5586, allocations: 0.8146 MB / 1.423 GB, free: 14.04 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.5589, allocations: 321.3 kB / 1.423 GB, free: 13.73 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003679/0.5593, allocations: 222.8 kB / 1.423 GB, free: 13.5 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.5595, allocations: 349.9 kB / 1.424 GB, free: 13.16 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.5611, allocations: 0.5294 MB / 1.424 GB, free: 12.62 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/0.5633, allocations: 1.137 MB / 1.425 GB, free: 11.27 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0037/0.567, allocations: 1.43 MB / 1.427 GB, free: 9.691 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.567, allocations: 0 / 1.427 GB, free: 9.691 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004406/0.5714, allocations: 1.606 MB / 1.428 GB, free: 8.078 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.5714, allocations: 15.94 kB / 1.428 GB, free: 8.062 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.5714, allocations: 16.16 kB / 1.428 GB, free: 8.047 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.5715, allocations: 16 kB / 1.428 GB, free: 8.031 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.573, allocations: 343.5 kB / 1.429 GB, free: 7.695 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-05/0.573, allocations: 19.94 kB / 1.429 GB, free: 7.676 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.5744, allocations: 207.1 kB / 1.429 GB, free: 7.473 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.5746, allocations: 63.97 kB / 1.429 GB, free: 7.41 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.0005987/0.5752, allocations: 355.3 kB / 1.429 GB, free: 7.055 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.5754, allocations: 162.9 kB / 1.429 GB, free: 6.895 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005628/0.5811, allocations: 2.177 MB / 1.432 GB, free: 4.707 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/0.5811, allocations: 3.984 kB / 1.432 GB, free: 4.703 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.5811, allocations: 0 / 1.432 GB, free: 4.703 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007809/0.5819, allocations: 306.3 kB / 1.432 GB, free: 4.402 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.5821, allocations: 27.94 kB / 1.432 GB, free: 4.375 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.5832, allocations: 119.9 kB / 1.432 GB, free: 4.258 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.5833, allocations: 76.84 kB / 1.432 GB, free: 4.184 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00522/0.5885, allocations: 1.873 MB / 1.434 GB, free: 2.297 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006788/0.5953, allocations: 2.89 MB / 1.437 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001967/0.5973, allocations: 0.742 MB / 1.437 GB, free: 14.64 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001665/0.5989, allocations: 0.9365 MB / 1.438 GB, free: 13.71 MB / 1.139 GB Notification: Performance of Backend: time 3.8e-07/0.5989, allocations: 0 / 1.438 GB, free: 13.71 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005648/0.6046, allocations: 1.675 MB / 1.44 GB, free: 12.22 MB / 1.139 GB Notification: Performance of SimCode: time 0.005433/0.61, allocations: 3.402 MB / 1.443 GB, free: 8.777 MB / 1.139 GB Notification: Performance of Templates: time 0.05703/0.667, allocations: 34.27 MB / 1.477 GB, free: 7.066 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: 9.745954057994823]