Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.001854/0.001854, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002395/0.002395, allocations: 208.9 kB / 23 MB, free: 4.934 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.789 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.154/3.154, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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_TSetOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|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|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|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|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") [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.002132/0.002132, allocations: 71.19 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3175, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2565/0.574, allocations: 214.7 MB / 1.537 GB, free: 9.508 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01508/0.5891, allocations: 8.049 MB / 1.545 GB, free: 1.441 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002145/0.5912, allocations: 95.12 kB / 1.545 GB, free: 1.348 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002777/0.594, allocations: 1.048 MB / 1.546 GB, free: 300 kB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008606/0.6026, allocations: 3.228 MB / 1.549 GB, free: 13.05 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.008829/0.6115, allocations: 3.504 MB / 1.552 GB, free: 9.539 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005977/0.6174, allocations: 3.971 MB / 1.556 GB, free: 5.551 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/0.6195, allocations: 1.1 MB / 1.557 GB, free: 4.418 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005052/0.6245, allocations: 2.324 MB / 1.56 GB, free: 2.086 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002547/0.6271, allocations: 1.451 MB / 1.561 GB, free: 0.6289 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002722/0.6273, allocations: 132 kB / 1.561 GB, free: 0.5 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006577/0.6339, allocations: 3.214 MB / 1.564 GB, free: 13.28 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008237/0.6347, allocations: 0.6228 MB / 1.565 GB, free: 12.65 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.636, allocations: 0.8124 MB / 1.566 GB, free: 11.84 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.008026/0.644, allocations: 3.741 MB / 1.569 GB, free: 8.082 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.644, allocations: 0 / 1.569 GB, free: 8.082 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.164e-06/0.644, allocations: 0 / 1.569 GB, free: 8.082 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.285e-05/0.644, allocations: 0 / 1.569 GB, free: 8.082 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.006795/0.6508, allocations: 2.65 MB / 1.572 GB, free: 5.379 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.6509, allocations: 8.031 kB / 1.572 GB, free: 5.371 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008194/0.6591, allocations: 1.146 MB / 1.573 GB, free: 4.223 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002815/0.6619, allocations: 1.15 MB / 1.574 GB, free: 3.027 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.627e-05/0.662, allocations: 98.56 kB / 1.574 GB, free: 2.93 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/0.6622, allocations: 136 kB / 1.574 GB, free: 2.797 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004689/0.6669, allocations: 1.963 MB / 1.576 GB, free: 0.707 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.667, allocations: 3.938 kB / 1.576 GB, free: 0.7031 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.6671, allocations: 59.98 kB / 1.576 GB, free: 0.6445 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.502e-05/0.6672, allocations: 58.34 kB / 1.576 GB, free: 0.5859 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005159/0.6724, allocations: 1.902 MB / 1.578 GB, free: 14.68 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/0.6833, allocations: 6.533 MB / 1.585 GB, free: 7.945 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004075/0.6874, allocations: 1.458 MB / 1.586 GB, free: 6.477 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/0.6894, allocations: 0.7499 MB / 1.587 GB, free: 5.727 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.6905, allocations: 204.8 kB / 1.587 GB, free: 5.527 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002303/0.6928, allocations: 0.8872 MB / 1.588 GB, free: 4.625 MB / 1.279 GB Notification: Performance of pre-optimization done (n=106): time 3.847e-06/0.6928, allocations: 0 / 1.588 GB, free: 4.625 MB / 1.279 GB Notification: Performance of matching and sorting (n=106): time 0.007239/0.7001, allocations: 2.381 MB / 1.59 GB, free: 2.238 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.7001, allocations: 64.41 kB / 1.59 GB, free: 2.164 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/0.7021, allocations: 1.413 MB / 1.592 GB, free: 0.7344 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.7023, allocations: 45.7 kB / 1.592 GB, free: 0.6836 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007939/0.7031, allocations: 0.8815 MB / 1.593 GB, free: 15.79 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004036/0.7035, allocations: 384.7 kB / 1.593 GB, free: 15.41 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004483/0.7039, allocations: 238.8 kB / 1.593 GB, free: 15.17 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.7041, allocations: 353.9 kB / 1.593 GB, free: 14.82 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.706, allocations: 0.6739 MB / 1.594 GB, free: 14.14 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/0.7084, allocations: 1.29 MB / 1.595 GB, free: 12.64 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00418/0.7126, allocations: 1.722 MB / 1.597 GB, free: 10.78 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.7126, allocations: 7.938 kB / 1.597 GB, free: 10.77 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005035/0.7177, allocations: 1.925 MB / 1.599 GB, free: 8.84 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.7177, allocations: 12 kB / 1.599 GB, free: 8.828 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.7177, allocations: 8 kB / 1.599 GB, free: 8.82 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.39e-05/0.7177, allocations: 20 kB / 1.599 GB, free: 8.801 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.7197, allocations: 364.1 kB / 1.599 GB, free: 8.445 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.56e-05/0.7197, allocations: 27.91 kB / 1.599 GB, free: 8.418 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.7215, allocations: 215 kB / 1.6 GB, free: 8.207 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.7216, allocations: 63.97 kB / 1.6 GB, free: 8.145 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (157): * Single equations (assignments): 157 * 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.0007477/0.7224, allocations: 409.4 kB / 1.6 GB, free: 7.738 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.7227, allocations: 174.9 kB / 1.6 GB, free: 7.566 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004966/0.7277, allocations: 1.842 MB / 1.602 GB, free: 5.715 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.7277, allocations: 11.97 kB / 1.602 GB, free: 5.703 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.7277, allocations: 0 / 1.602 GB, free: 5.703 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007808/0.7285, allocations: 282.5 kB / 1.602 GB, free: 5.426 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.7287, allocations: 27.98 kB / 1.602 GB, free: 5.398 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.73, allocations: 115.9 kB / 1.602 GB, free: 5.285 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.7302, allocations: 80.73 kB / 1.602 GB, free: 5.203 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0055/0.7357, allocations: 1.782 MB / 1.604 GB, free: 3.418 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006907/0.7426, allocations: 2.843 MB / 1.607 GB, free: 0.5508 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.6373/1.38, allocations: 0.7149 MB / 1.608 GB, free: 279.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001542/1.381, allocations: 0.9486 MB / 1.609 GB, free: 279.6 MB / 1.295 GB Notification: Performance of Backend: time 2.61e-07/1.381, allocations: 0 / 1.609 GB, free: 279.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007103/1.389, allocations: 2.189 MB / 1.611 GB, free: 279.5 MB / 1.295 GB Notification: Performance of SimCode: time 0.005348/1.394, allocations: 3.559 MB / 1.614 GB, free: 277.9 MB / 1.295 GB Notification: Performance of Templates: time 0.05819/1.452, allocations: 43.18 MB / 1.656 GB, free: 255.8 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.845011212993995]