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.001674/0.001674, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002131/0.002131, allocations: 214.4 kB / 23.04 MB, free: 4.863 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.192/3.192, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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.002018/0.002018, allocations: 71.22 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3814, 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.05672/0.4381, allocations: 50.44 MB / 1.376 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.455, allocations: 9.755 MB / 1.386 GB, free: 4.535 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.4573, allocations: 95.12 kB / 1.386 GB, free: 4.441 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.4601, allocations: 0.9008 MB / 1.387 GB, free: 3.535 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00631/0.4664, allocations: 2.083 MB / 1.389 GB, free: 1.441 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005678/0.4721, allocations: 2.019 MB / 1.391 GB, free: 15.42 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006209/0.4783, allocations: 3.812 MB / 1.395 GB, free: 11.59 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.4803, allocations: 0.9669 MB / 1.396 GB, free: 10.59 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004548/0.4849, allocations: 1.98 MB / 1.398 GB, free: 8.605 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002449/0.4873, allocations: 1.202 MB / 1.399 GB, free: 7.398 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003183/0.4877, allocations: 108 kB / 1.399 GB, free: 7.293 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.4905, allocations: 1.037 MB / 1.4 GB, free: 6.254 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005336/0.491, allocations: 422.2 kB / 1.4 GB, free: 5.84 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.4922, allocations: 0.6917 MB / 1.401 GB, free: 5.145 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004783/0.497, allocations: 2.432 MB / 1.403 GB, free: 2.703 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.497, allocations: 4 kB / 1.403 GB, free: 2.699 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.773e-06/0.497, allocations: 0 / 1.403 GB, free: 2.699 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.32e-05/0.497, allocations: 0 / 1.403 GB, free: 2.699 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.003883/0.5009, allocations: 2.133 MB / 1.405 GB, free: 0.5156 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.501, allocations: 8.031 kB / 1.405 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003814/0.5048, allocations: 0.662 MB / 1.406 GB, free: 15.84 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.5072, allocations: 1.084 MB / 1.407 GB, free: 14.72 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.948e-05/0.5073, allocations: 86.08 kB / 1.407 GB, free: 14.63 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.5074, allocations: 104 kB / 1.407 GB, free: 14.53 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/0.5107, allocations: 1.504 MB / 1.409 GB, free: 12.87 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.5108, allocations: 7.938 kB / 1.409 GB, free: 12.86 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.5109, allocations: 44 kB / 1.409 GB, free: 12.82 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.5109, allocations: 28 kB / 1.409 GB, free: 12.79 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003634/0.5145, allocations: 1.241 MB / 1.41 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009543/0.5241, allocations: 6.413 MB / 1.416 GB, free: 4.918 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/0.5276, allocations: 1.059 MB / 1.417 GB, free: 3.852 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.5292, allocations: 0.5353 MB / 1.418 GB, free: 3.312 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.5302, allocations: 294.2 kB / 1.418 GB, free: 3.027 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001925/0.5321, allocations: 0.6799 MB / 1.419 GB, free: 2.336 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 3.917e-06/0.5321, allocations: 0 / 1.419 GB, free: 2.336 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.005667/0.5378, allocations: 1.807 MB / 1.421 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.5378, allocations: 64.39 kB / 1.421 GB, free: 460 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.5399, allocations: 1.404 MB / 1.422 GB, free: 15.02 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.54, allocations: 41.7 kB / 1.422 GB, free: 14.98 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007779/0.5408, allocations: 0.8184 MB / 1.423 GB, free: 14.15 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.5412, allocations: 313.3 kB / 1.423 GB, free: 13.84 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003529/0.5415, allocations: 222.8 kB / 1.423 GB, free: 13.62 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.5417, allocations: 361.9 kB / 1.424 GB, free: 13.26 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.5434, allocations: 0.5217 MB / 1.424 GB, free: 12.74 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00219/0.5456, allocations: 1.133 MB / 1.425 GB, free: 11.39 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00374/0.5493, allocations: 1.422 MB / 1.427 GB, free: 9.816 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.5493, allocations: 4 kB / 1.427 GB, free: 9.812 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004578/0.5539, allocations: 1.617 MB / 1.428 GB, free: 8.184 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.554, allocations: 13.56 kB / 1.428 GB, free: 8.172 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.554, allocations: 8 kB / 1.428 GB, free: 8.164 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.54e-05/0.554, allocations: 20.75 kB / 1.428 GB, free: 8.145 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.5555, allocations: 347.5 kB / 1.429 GB, free: 7.805 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.369e-05/0.5555, allocations: 23.92 kB / 1.429 GB, free: 7.781 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.5571, allocations: 203.2 kB / 1.429 GB, free: 7.582 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.5572, allocations: 63.97 kB / 1.429 GB, free: 7.52 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.0006093/0.5578, allocations: 351.3 kB / 1.429 GB, free: 7.168 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/0.5581, allocations: 166.9 kB / 1.429 GB, free: 7.004 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005458/0.5636, allocations: 2.173 MB / 1.432 GB, free: 4.82 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.024e-05/0.5636, allocations: 15.98 kB / 1.432 GB, free: 4.805 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.5636, allocations: 0 / 1.432 GB, free: 4.805 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.5636, allocations: 7.969 kB / 1.432 GB, free: 4.797 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0073/0.5709, allocations: 3.113 MB / 1.435 GB, free: 1.617 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.889e-05/0.571, allocations: 7.984 kB / 1.435 GB, free: 1.609 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.5722, allocations: 239.9 kB / 1.435 GB, free: 1.375 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.5722, allocations: 8 kB / 1.435 GB, free: 1.367 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-05/0.5723, allocations: 39.89 kB / 1.435 GB, free: 1.328 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/0.5723, allocations: 4 kB / 1.435 GB, free: 1.324 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.5723, allocations: 7.938 kB / 1.435 GB, free: 1.316 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006786/0.5791, allocations: 2.81 MB / 1.438 GB, free: 14.47 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007409/0.5798, allocations: 306.3 kB / 1.438 GB, free: 14.17 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.58, allocations: 27.92 kB / 1.438 GB, free: 14.14 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.5811, allocations: 119.9 kB / 1.438 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/0.5813, allocations: 84.89 kB / 1.438 GB, free: 13.94 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.5814, allocations: 55.89 kB / 1.438 GB, free: 13.89 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001506/0.5829, allocations: 0.9326 MB / 1.439 GB, free: 12.96 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.5829, allocations: 0 / 1.439 GB, free: 12.96 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001739/0.5847, allocations: 0.5651 MB / 1.44 GB, free: 12.39 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.002495/0.5871, allocations: 0.8593 MB / 1.44 GB, free: 11.71 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00424/0.5914, allocations: 1.457 MB / 1.442 GB, free: 10.26 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.5914, allocations: 0 / 1.442 GB, free: 10.26 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002152/0.5935, allocations: 0.7793 MB / 1.443 GB, free: 9.48 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/0.5963, allocations: 0.6048 MB / 1.443 GB, free: 8.891 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006447/0.6028, allocations: 3.281 MB / 1.446 GB, free: 5.551 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008518/0.6036, allocations: 0.7345 MB / 1.447 GB, free: 4.785 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005733/0.6042, allocations: 175.3 kB / 1.447 GB, free: 4.613 MB / 1.139 GB Notification: Performance of SimCode: time 1.122e-06/0.6042, allocations: 0 / 1.447 GB, free: 4.613 MB / 1.139 GB Notification: Performance of Templates: time 0.04766/0.6519, allocations: 28.32 MB / 1.475 GB, free: 8.523 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.790055864024907]