Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.332/2.332, allocations: 390.3 MB / 405.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 176.6 kB / 498.1 MB, free: 5.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 223.2 MB / 0.7949 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 98.27 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003705, allocations: 6.969 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3022, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.21/4.512, allocations: 1.874 GB / 3.097 GB, free: 141 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/4.513, allocations: 90.8 kB / 3.097 GB, free: 140.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.394/7.907, allocations: 1.019 GB / 4.116 GB, free: 8.773 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.044e-06/7.907, allocations: 0 / 4.116 GB, free: 8.773 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001897/7.907, allocations: 43.92 kB / 4.116 GB, free: 8.73 MB / 1.167 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.008229/7.915, allocations: 2.034 MB / 4.118 GB, free: 6.641 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/7.915, allocations: 8.031 kB / 4.118 GB, free: 6.633 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004265/7.92, allocations: 0.6927 MB / 4.119 GB, free: 5.938 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003978/7.924, allocations: 1.067 MB / 4.12 GB, free: 4.812 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/7.924, allocations: 66 kB / 4.12 GB, free: 4.75 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004143/7.924, allocations: 80 kB / 4.12 GB, free: 4.672 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003417/7.928, allocations: 1.463 MB / 4.121 GB, free: 3.129 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/7.928, allocations: 3.938 kB / 4.121 GB, free: 3.125 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/7.928, allocations: 40 kB / 4.121 GB, free: 3.086 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/7.928, allocations: 37.98 kB / 4.121 GB, free: 3.051 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003415/7.931, allocations: 1.378 MB / 4.123 GB, free: 1.672 MB / 1.167 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.7517/8.683, allocations: 5.785 MB / 4.128 GB, free: 281.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004212/8.687, allocations: 1.384 MB / 4.13 GB, free: 281.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009175/8.688, allocations: 0.5815 MB / 4.13 GB, free: 281.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002329/8.691, allocations: 0.7907 MB / 4.131 GB, free: 281.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=80): time 5.5e-06/8.691, allocations: 0 / 4.131 GB, free: 281.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=80): time 0.007499/8.698, allocations: 2.076 MB / 4.133 GB, free: 281.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/8.698, allocations: 59.97 kB / 4.133 GB, free: 281 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/8.701, allocations: 1.099 MB / 4.134 GB, free: 280.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/8.701, allocations: 43.95 kB / 4.134 GB, free: 280.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005923/8.702, allocations: 0.5855 MB / 4.135 GB, free: 280.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/8.702, allocations: 272.6 kB / 4.135 GB, free: 280.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/8.702, allocations: 20.59 kB / 4.135 GB, free: 280.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001066/8.702, allocations: 340.4 kB / 4.135 GB, free: 280.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/8.704, allocations: 0.6051 MB / 4.136 GB, free: 280.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/8.707, allocations: 0.9232 MB / 4.137 GB, free: 279.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/8.709, allocations: 0.6448 MB / 4.138 GB, free: 279.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/8.709, allocations: 2.531 kB / 4.138 GB, free: 279.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005065/8.714, allocations: 1.629 MB / 4.139 GB, free: 279.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/8.714, allocations: 8.141 kB / 4.139 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/8.714, allocations: 7.312 kB / 4.139 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.187e-05/8.714, allocations: 13.19 kB / 4.139 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/8.716, allocations: 322.4 kB / 4.139 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-05/8.716, allocations: 23.42 kB / 4.139 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/8.718, allocations: 227 kB / 4.14 GB, free: 279.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/8.718, allocations: 59.31 kB / 4.14 GB, free: 279.7 MB / 1.167 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001014/8.719, allocations: 348.9 kB / 4.14 GB, free: 279.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003362/8.719, allocations: 138.8 kB / 4.14 GB, free: 279.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00498/8.724, allocations: 1.608 MB / 4.142 GB, free: 279.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/8.724, allocations: 11.88 kB / 4.142 GB, free: 279.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/8.724, allocations: 4.516 kB / 4.142 GB, free: 279.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/8.724, allocations: 5.203 kB / 4.142 GB, free: 279.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007979/8.732, allocations: 3.107 MB / 4.145 GB, free: 279 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/8.733, allocations: 3.875 kB / 4.145 GB, free: 279 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/8.734, allocations: 259.3 kB / 4.145 GB, free: 279 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.936e-05/8.734, allocations: 6.594 kB / 4.145 GB, free: 279 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/8.734, allocations: 39.36 kB / 4.145 GB, free: 279 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.41e-05/8.734, allocations: 7.844 kB / 4.145 GB, free: 279 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/8.734, allocations: 10.73 kB / 4.145 GB, free: 279 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00685/8.741, allocations: 2.75 MB / 4.148 GB, free: 278.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/8.742, allocations: 343.7 kB / 4.148 GB, free: 278.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/8.742, allocations: 31 kB / 4.148 GB, free: 278.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/8.744, allocations: 150 kB / 4.148 GB, free: 278.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/8.744, allocations: 69.09 kB / 4.148 GB, free: 278.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-05/8.744, allocations: 39.73 kB / 4.148 GB, free: 278.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001292/8.745, allocations: 0.8532 MB / 4.149 GB, free: 278.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.31e-07/8.745, allocations: 0 / 4.149 GB, free: 278.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002359/8.748, allocations: 0.4997 MB / 4.15 GB, free: 278.1 MB / 1.167 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004073/8.752, allocations: 2.035 MB / 4.152 GB, free: 277.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004021/8.756, allocations: 1.437 MB / 4.153 GB, free: 277.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/8.756, allocations: 3.688 kB / 4.153 GB, free: 277.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001788/8.758, allocations: 0.7258 MB / 4.154 GB, free: 277.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/8.761, allocations: 0.5506 MB / 4.154 GB, free: 277.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/8.777, allocations: 3.751 MB / 4.158 GB, free: 276.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006917/8.778, allocations: 1.203 MB / 4.159 GB, free: 275.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002035/8.78, allocations: 372.8 kB / 4.16 GB, free: 275.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004704/8.78, allocations: 131 kB / 4.16 GB, free: 275.6 MB / 1.167 GB Notification: Performance of SimCode: time 2.494e-06/8.78, allocations: 0 / 4.16 GB, free: 275.6 MB / 1.167 GB Notification: Performance of Templates: time 0.06424/8.844, allocations: 41.82 MB / 4.201 GB, free: 274.9 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches