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.001263/0.001263, 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.0017/0.0017, 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.502/1.502, 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.363/3.363, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.002146/0.002146, allocations: 69.88 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4023, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05821/0.4605, allocations: 50.43 MB / 1.376 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01763/0.4781, allocations: 9.754 MB / 1.386 GB, free: 4.574 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003982/0.4821, allocations: 95.12 kB / 1.386 GB, free: 4.48 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.4853, allocations: 0.9008 MB / 1.387 GB, free: 3.574 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007169/0.4925, allocations: 2.08 MB / 1.389 GB, free: 1.484 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006133/0.4986, allocations: 2.029 MB / 1.391 GB, free: 15.45 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006209/0.5048, allocations: 3.831 MB / 1.395 GB, free: 11.61 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002227/0.507, allocations: 0.9825 MB / 1.396 GB, free: 10.59 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004838/0.5119, allocations: 1.988 MB / 1.398 GB, free: 8.594 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.5146, allocations: 1.268 MB / 1.399 GB, free: 7.32 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003592/0.515, allocations: 108 kB / 1.399 GB, free: 7.215 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.5182, allocations: 1.049 MB / 1.4 GB, free: 6.164 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000587/0.5188, allocations: 410.2 kB / 1.4 GB, free: 5.762 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.5202, allocations: 0.7073 MB / 1.401 GB, free: 5.051 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005184/0.5254, allocations: 2.436 MB / 1.403 GB, free: 2.605 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5254, allocations: 0 / 1.403 GB, free: 2.605 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5254, allocations: 0 / 1.403 GB, free: 2.605 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.63e-05/0.5254, allocations: 0 / 1.403 GB, free: 2.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.004063/0.5295, allocations: 2.13 MB / 1.405 GB, free: 436 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5295, allocations: 12.03 kB / 1.405 GB, free: 424 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003957/0.5335, allocations: 0.6582 MB / 1.406 GB, free: 15.75 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.536, allocations: 1.08 MB / 1.407 GB, free: 14.63 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-05/0.5361, allocations: 86.08 kB / 1.407 GB, free: 14.55 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.5363, allocations: 112 kB / 1.407 GB, free: 14.44 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.5396, allocations: 1.504 MB / 1.409 GB, free: 12.78 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.5396, allocations: 7.938 kB / 1.409 GB, free: 12.77 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.5397, allocations: 44 kB / 1.409 GB, free: 12.73 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.5398, allocations: 32 kB / 1.409 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003604/0.5434, allocations: 1.237 MB / 1.41 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.5542, allocations: 6.417 MB / 1.416 GB, free: 4.82 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003502/0.5577, allocations: 1.051 MB / 1.417 GB, free: 3.762 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.5593, allocations: 0.5337 MB / 1.418 GB, free: 3.219 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.5604, allocations: 294.2 kB / 1.418 GB, free: 2.934 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001997/0.5624, allocations: 0.6761 MB / 1.419 GB, free: 2.246 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 4.098e-06/0.5624, allocations: 0 / 1.419 GB, free: 2.246 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.005697/0.5681, allocations: 1.811 MB / 1.421 GB, free: 440 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.5681, allocations: 60.41 kB / 1.421 GB, free: 364 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.5702, allocations: 1.404 MB / 1.422 GB, free: 14.93 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.5703, allocations: 45.7 kB / 1.422 GB, free: 14.88 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007285/0.571, allocations: 0.8146 MB / 1.423 GB, free: 14.06 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.5713, allocations: 309.4 kB / 1.423 GB, free: 13.75 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/0.5717, allocations: 230.8 kB / 1.423 GB, free: 13.52 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5719, allocations: 353.8 kB / 1.424 GB, free: 13.17 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.5735, allocations: 0.5256 MB / 1.424 GB, free: 12.64 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.5756, allocations: 1.137 MB / 1.425 GB, free: 11.29 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003534/0.5791, allocations: 1.422 MB / 1.427 GB, free: 9.719 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.5791, allocations: 4 kB / 1.427 GB, free: 9.715 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004481/0.5836, allocations: 1.617 MB / 1.428 GB, free: 8.09 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.5836, allocations: 12 kB / 1.428 GB, free: 8.078 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.5836, allocations: 8 kB / 1.428 GB, free: 8.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.5837, allocations: 20.81 kB / 1.428 GB, free: 8.051 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.5852, allocations: 355.4 kB / 1.429 GB, free: 7.703 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/0.5852, allocations: 19.94 kB / 1.429 GB, free: 7.684 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.5868, allocations: 203.1 kB / 1.429 GB, free: 7.484 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.5869, allocations: 71.95 kB / 1.429 GB, free: 7.414 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.0006716/0.5876, allocations: 339.3 kB / 1.429 GB, free: 7.074 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/0.5879, allocations: 170.9 kB / 1.429 GB, free: 6.906 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/0.5931, allocations: 2.173 MB / 1.432 GB, free: 4.723 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.704e-05/0.5932, allocations: 19.98 kB / 1.432 GB, free: 4.703 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5932, allocations: 0 / 1.432 GB, free: 4.703 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.5932, allocations: 3.984 kB / 1.432 GB, free: 4.699 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00688/0.6001, allocations: 3.113 MB / 1.435 GB, free: 1.52 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.6001, allocations: 4 kB / 1.435 GB, free: 1.516 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/0.6013, allocations: 239.8 kB / 1.435 GB, free: 1.281 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.6014, allocations: 8 kB / 1.435 GB, free: 1.273 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.67e-05/0.6015, allocations: 43.98 kB / 1.435 GB, free: 1.23 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/0.6015, allocations: 11.94 kB / 1.435 GB, free: 1.219 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6015, allocations: 0 / 1.435 GB, free: 1.219 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006787/0.6083, allocations: 2.806 MB / 1.438 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009177/0.6092, allocations: 314.4 kB / 1.438 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.6094, allocations: 27.88 kB / 1.438 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.6105, allocations: 119.9 kB / 1.438 GB, free: 13.92 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.6107, allocations: 84.84 kB / 1.438 GB, free: 13.84 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.6108, allocations: 51.95 kB / 1.438 GB, free: 13.79 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001384/0.6122, allocations: 0.9326 MB / 1.439 GB, free: 12.86 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.6122, allocations: 0 / 1.439 GB, free: 12.86 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001852/0.6141, allocations: 0.569 MB / 1.44 GB, free: 12.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.002636/0.6167, allocations: 0.849 MB / 1.441 GB, free: 11.62 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004175/0.6209, allocations: 1.465 MB / 1.442 GB, free: 10.16 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.6209, allocations: 0 / 1.442 GB, free: 10.16 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.623, allocations: 0.7832 MB / 1.443 GB, free: 9.375 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002936/0.6259, allocations: 0.6043 MB / 1.443 GB, free: 8.781 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006212/0.6321, allocations: 3.22 MB / 1.446 GB, free: 5.508 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007952/0.6329, allocations: 0.7345 MB / 1.447 GB, free: 4.742 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001339/0.6343, allocations: 355.4 kB / 1.448 GB, free: 4.391 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/0.6347, allocations: 155.3 kB / 1.448 GB, free: 4.238 MB / 1.139 GB Notification: Performance of SimCode: time 1.653e-06/0.6347, allocations: 0 / 1.448 GB, free: 4.238 MB / 1.139 GB Notification: Performance of Templates: time 0.0563/0.691, allocations: 33.43 MB / 1.48 GB, free: 3.48 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 cvode -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: 10.626542569996673]