Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.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_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.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_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 105.5 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.83 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8747/0.8762, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2097/1.086, allocations: 193.8 MB / 1.398 GB, free: 11.02 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008957/1.095, allocations: 5.151 MB / 1.403 GB, free: 5.855 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/1.096, allocations: 47.69 kB / 1.403 GB, free: 5.809 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0021/1.098, allocations: 0.808 MB / 1.404 GB, free: 4.996 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006358/1.105, allocations: 2.598 MB / 1.406 GB, free: 2.387 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/1.108, allocations: 1.109 MB / 1.407 GB, free: 1.285 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003729/1.111, allocations: 2.61 MB / 1.41 GB, free: 14.67 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/1.113, allocations: 0.894 MB / 1.411 GB, free: 13.77 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/1.115, allocations: 1.109 MB / 1.412 GB, free: 12.65 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/1.117, allocations: 0.9533 MB / 1.413 GB, free: 11.7 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003016/1.117, allocations: 83.94 kB / 1.413 GB, free: 11.61 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/1.121, allocations: 1.777 MB / 1.414 GB, free: 9.832 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006137/1.122, allocations: 438.5 kB / 1.415 GB, free: 9.402 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/1.123, allocations: 0.641 MB / 1.416 GB, free: 8.758 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003945/1.127, allocations: 2.157 MB / 1.418 GB, free: 6.594 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.127, allocations: 0 / 1.418 GB, free: 6.594 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.963e-06/1.127, allocations: 0 / 1.418 GB, free: 6.594 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.067e-05/1.127, allocations: 0 / 1.418 GB, free: 6.594 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005451/1.132, allocations: 1.926 MB / 1.419 GB, free: 4.613 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.132, allocations: 8.031 kB / 1.42 GB, free: 4.605 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004085/1.136, allocations: 0.6576 MB / 1.42 GB, free: 3.945 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/1.138, allocations: 0.9527 MB / 1.421 GB, free: 2.934 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.878e-05/1.138, allocations: 66 kB / 1.421 GB, free: 2.871 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/1.138, allocations: 84 kB / 1.421 GB, free: 2.789 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00352/1.142, allocations: 1.474 MB / 1.423 GB, free: 1.238 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/1.142, allocations: 7.922 kB / 1.423 GB, free: 1.23 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/1.142, allocations: 36 kB / 1.423 GB, free: 1.195 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-05/1.142, allocations: 45.98 kB / 1.423 GB, free: 1.152 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00422/1.146, allocations: 1.522 MB / 1.424 GB, free: 15.63 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00809/1.155, allocations: 5.487 MB / 1.43 GB, free: 9.852 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/1.159, allocations: 1.28 MB / 1.431 GB, free: 8.566 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/1.16, allocations: 0.6583 MB / 1.431 GB, free: 7.902 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009792/1.161, allocations: 0.5851 MB / 1.432 GB, free: 7.207 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001954/1.163, allocations: 0.7112 MB / 1.433 GB, free: 6.484 MB / 1.154 GB Notification: Performance of pre-optimization done (n=80): time 3.356e-06/1.163, allocations: 0 / 1.433 GB, free: 6.484 MB / 1.154 GB Notification: Performance of matching and sorting (n=80): time 0.005873/1.169, allocations: 1.878 MB / 1.435 GB, free: 4.598 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/1.169, allocations: 60.06 kB / 1.435 GB, free: 4.527 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/1.171, allocations: 1.239 MB / 1.436 GB, free: 3.281 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/1.171, allocations: 45.7 kB / 1.436 GB, free: 3.23 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005468/1.172, allocations: 0.5791 MB / 1.436 GB, free: 2.645 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/1.172, allocations: 276.1 kB / 1.437 GB, free: 2.371 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/1.172, allocations: 186.5 kB / 1.437 GB, free: 2.184 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.172, allocations: 345.9 kB / 1.437 GB, free: 1.84 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/1.174, allocations: 0.5327 MB / 1.438 GB, free: 1.305 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/1.176, allocations: 0.8252 MB / 1.439 GB, free: 380 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003437/1.179, allocations: 1.324 MB / 1.44 GB, free: 14.95 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/1.179, allocations: 4 kB / 1.44 GB, free: 14.94 MB / 1.17 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004181/1.184, allocations: 1.495 MB / 1.441 GB, free: 13.44 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.184, allocations: 8 kB / 1.441 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.184, allocations: 8 kB / 1.441 GB, free: 13.42 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/1.184, allocations: 12.09 kB / 1.441 GB, free: 13.41 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/1.185, allocations: 295.9 kB / 1.442 GB, free: 13.12 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/1.185, allocations: 19.92 kB / 1.442 GB, free: 13.1 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/1.187, allocations: 190.8 kB / 1.442 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/1.187, allocations: 47.98 kB / 1.442 GB, free: 12.87 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0005782/1.187, allocations: 355.5 kB / 1.442 GB, free: 12.51 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/1.188, allocations: 134.3 kB / 1.442 GB, free: 12.38 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003926/1.191, allocations: 1.408 MB / 1.444 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/1.192, allocations: 11.98 kB / 1.444 GB, free: 10.95 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.192, allocations: 0 / 1.444 GB, free: 10.95 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/1.192, allocations: 7.984 kB / 1.444 GB, free: 10.94 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005941/1.197, allocations: 2.787 MB / 1.446 GB, free: 8.055 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.198, allocations: 4 kB / 1.446 GB, free: 8.051 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.199, allocations: 228.1 kB / 1.447 GB, free: 7.828 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/1.199, allocations: 11.94 kB / 1.447 GB, free: 7.816 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.024e-05/1.199, allocations: 31.97 kB / 1.447 GB, free: 7.785 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/1.199, allocations: 4 kB / 1.447 GB, free: 7.781 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.199, allocations: 8 kB / 1.447 GB, free: 7.773 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00561/1.205, allocations: 2.248 MB / 1.449 GB, free: 5.457 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006083/1.205, allocations: 299.2 kB / 1.449 GB, free: 5.145 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/1.205, allocations: 20 kB / 1.449 GB, free: 5.125 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.207, allocations: 111.9 kB / 1.449 GB, free: 5.016 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/1.207, allocations: 64.38 kB / 1.449 GB, free: 4.953 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.769e-05/1.207, allocations: 35.97 kB / 1.449 GB, free: 4.918 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001087/1.208, allocations: 0.8522 MB / 1.45 GB, free: 4.062 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/1.208, allocations: 0 / 1.45 GB, free: 4.062 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001033/1.209, allocations: 327.5 kB / 1.451 GB, free: 3.742 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001284/1.21, allocations: 0.5246 MB / 1.451 GB, free: 3.379 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003776/1.214, allocations: 1.286 MB / 1.452 GB, free: 2.09 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.214, allocations: 0 / 1.452 GB, free: 2.09 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/1.216, allocations: 0.6443 MB / 1.453 GB, free: 1.445 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/1.219, allocations: 0.597 MB / 1.454 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005328/1.224, allocations: 2.622 MB / 1.456 GB, free: 14.15 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007841/1.225, allocations: 1.167 MB / 1.457 GB, free: 12.95 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/1.226, allocations: 123.4 kB / 1.457 GB, free: 12.83 MB / 1.186 GB Notification: Performance of SimCode: time 1.012e-06/1.226, allocations: 0 / 1.457 GB, free: 12.83 MB / 1.186 GB Notification: Performance of Templates: time 0.03005/1.256, allocations: 20.49 MB / 1.477 GB, free: 8.504 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches