Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.001442/0.001442, allocations: 95.92 kB / 19.7 MB, free: 1.969 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.001581/0.001581, allocations: 212.7 kB / 23 MB, free: 4.441 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.244/3.244, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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_X_wSetOnly,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|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.",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,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|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.",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [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.002213/0.002213, allocations: 67.31 kB / 1.155 GB, free: 25.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3017, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2701/0.5718, allocations: 214.7 MB / 1.537 GB, free: 9.469 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.5868, allocations: 8.062 MB / 1.545 GB, free: 1.391 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.5888, allocations: 99.12 kB / 1.545 GB, free: 1.293 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003095/0.5919, allocations: 1.045 MB / 1.546 GB, free: 248 kB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008775/0.6007, allocations: 3.22 MB / 1.549 GB, free: 13.01 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.009161/0.6099, allocations: 3.508 MB / 1.552 GB, free: 9.496 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005998/0.6159, allocations: 3.983 MB / 1.556 GB, free: 5.496 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.6179, allocations: 1.104 MB / 1.557 GB, free: 4.359 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004894/0.6228, allocations: 2.324 MB / 1.56 GB, free: 2.027 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.6251, allocations: 1.447 MB / 1.561 GB, free: 0.5742 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.6254, allocations: 128 kB / 1.561 GB, free: 460 kB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006355/0.6317, allocations: 3.21 MB / 1.564 GB, free: 13.23 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008628/0.6326, allocations: 0.6112 MB / 1.565 GB, free: 12.62 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.6338, allocations: 0.8162 MB / 1.566 GB, free: 11.8 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.00738/0.6412, allocations: 3.729 MB / 1.569 GB, free: 8.055 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6412, allocations: 0 / 1.569 GB, free: 8.055 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6412, allocations: 0 / 1.569 GB, free: 8.055 MB / 1.264 GB Notification: Performance of Transformations before backend: time 3.228e-05/0.6412, allocations: 0 / 1.569 GB, free: 8.055 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.007062/0.6483, allocations: 2.647 MB / 1.572 GB, free: 5.355 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.6484, allocations: 8.031 kB / 1.572 GB, free: 5.348 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007746/0.6561, allocations: 1.099 MB / 1.573 GB, free: 4.246 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/0.6589, allocations: 1.15 MB / 1.574 GB, free: 3.051 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.659, allocations: 102.5 kB / 1.574 GB, free: 2.949 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/0.6593, allocations: 124 kB / 1.574 GB, free: 2.828 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004415/0.6637, allocations: 1.995 MB / 1.576 GB, free: 0.6875 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.226e-05/0.6638, allocations: 7.938 kB / 1.576 GB, free: 0.6797 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.6639, allocations: 55.98 kB / 1.576 GB, free: 0.625 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.137e-05/0.664, allocations: 66.3 kB / 1.576 GB, free: 0.5586 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005041/0.669, allocations: 1.878 MB / 1.578 GB, free: 14.67 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.6802, allocations: 6.954 MB / 1.585 GB, free: 7.5 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004489/0.6846, allocations: 1.55 MB / 1.586 GB, free: 5.941 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/0.6867, allocations: 0.7574 MB / 1.587 GB, free: 5.184 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000758/0.6874, allocations: 132.9 kB / 1.587 GB, free: 5.055 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002273/0.6897, allocations: 0.8716 MB / 1.588 GB, free: 4.168 MB / 1.279 GB Notification: Performance of pre-optimization done (n=104): time 3.667e-06/0.6897, allocations: 0 / 1.588 GB, free: 4.168 MB / 1.279 GB Notification: Performance of matching and sorting (n=104): time 0.006874/0.6966, allocations: 2.314 MB / 1.59 GB, free: 1.848 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.6966, allocations: 68.41 kB / 1.591 GB, free: 1.77 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.6987, allocations: 1.417 MB / 1.592 GB, free: 344 kB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.6988, allocations: 53.69 kB / 1.592 GB, free: 284 kB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008639/0.6997, allocations: 0.8774 MB / 1.593 GB, free: 15.39 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004161/0.7001, allocations: 376.8 kB / 1.593 GB, free: 15.02 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004405/0.7006, allocations: 242.8 kB / 1.593 GB, free: 14.78 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.7008, allocations: 353.9 kB / 1.594 GB, free: 14.43 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/0.7027, allocations: 0.67 MB / 1.594 GB, free: 13.75 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.7051, allocations: 1.284 MB / 1.596 GB, free: 12.25 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004168/0.7093, allocations: 1.731 MB / 1.597 GB, free: 10.37 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.7093, allocations: 4 kB / 1.597 GB, free: 10.37 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005/0.7143, allocations: 1.918 MB / 1.599 GB, free: 8.441 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.7143, allocations: 8 kB / 1.599 GB, free: 8.434 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.7143, allocations: 12 kB / 1.599 GB, free: 8.422 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.147e-05/0.7144, allocations: 16 kB / 1.599 GB, free: 8.406 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/0.7162, allocations: 359.5 kB / 1.6 GB, free: 8.055 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.033e-05/0.7163, allocations: 23.92 kB / 1.6 GB, free: 8.031 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.718, allocations: 219 kB / 1.6 GB, free: 7.816 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.7181, allocations: 63.97 kB / 1.6 GB, free: 7.754 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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.0007469/0.7189, allocations: 395.3 kB / 1.6 GB, free: 7.355 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.7192, allocations: 186.8 kB / 1.6 GB, free: 7.172 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004847/0.724, allocations: 1.826 MB / 1.602 GB, free: 5.336 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.7241, allocations: 3.984 kB / 1.602 GB, free: 5.332 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7241, allocations: 0 / 1.602 GB, free: 5.332 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007739/0.7248, allocations: 278.5 kB / 1.603 GB, free: 5.059 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.7251, allocations: 24.08 kB / 1.603 GB, free: 5.035 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.7263, allocations: 123.8 kB / 1.603 GB, free: 4.914 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.7265, allocations: 68.81 kB / 1.603 GB, free: 4.844 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005508/0.732, allocations: 1.747 MB / 1.604 GB, free: 3.094 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006844/0.7388, allocations: 2.788 MB / 1.607 GB, free: 288 kB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.5912/1.33, allocations: 0.6949 MB / 1.608 GB, free: 279.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001572/1.332, allocations: 0.9504 MB / 1.609 GB, free: 279.8 MB / 1.295 GB Notification: Performance of Backend: time 7.41e-07/1.332, allocations: 0.7812 kB / 1.609 GB, free: 279.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007043/1.339, allocations: 2.172 MB / 1.611 GB, free: 279.7 MB / 1.295 GB Notification: Performance of SimCode: time 0.005696/1.344, allocations: 3.558 MB / 1.614 GB, free: 278 MB / 1.295 GB Notification: Performance of Templates: time 0.0584/1.403, allocations: 42.82 MB / 1.656 GB, free: 255.9 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.895327913000074]