Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|heaHigPowIn.T|heaHigPowOut.T|heaHigPow.TSet|cooLimPowIn.T|cooLimPowOut.T|cooLimPow.TSet|heaCooUnlIn.T|heaCooUnlOut.T|heaCooUnl.TSet|heaHigPow.QMax_flow|heaHigPow.Q_flow|cooLimPow.QMin_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|heaHigPowIn.T|heaHigPowOut.T|heaHigPow.TSet|cooLimPowIn.T|cooLimPowOut.T|cooLimPow.TSet|heaCooUnlIn.T|heaCooUnlOut.T|heaCooUnl.TSet|heaHigPow.QMax_flow|heaHigPow.Q_flow|cooLimPow.QMin_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 181.2 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008606/0.0008605, allocations: 84.05 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003013, allocations: 9.75 kB / 0.7962 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1953, allocations: 106.3 MB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7792/0.9745, allocations: 382.4 MB / 1.274 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.9748, allocations: 90.58 kB / 1.274 GB, free: 1.176 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.073/4.048, allocations: 0.9092 GB / 2.183 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.894e-06/4.048, allocations: 3.719 kB / 2.183 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001556/4.048, allocations: 48.22 kB / 2.183 GB, free: 143.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.004543/4.053, allocations: 2.204 MB / 2.185 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/4.053, allocations: 10.03 kB / 2.185 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/4.056, allocations: 0.6076 MB / 2.186 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003515/4.059, allocations: 1.478 MB / 2.187 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/4.059, allocations: 85.78 kB / 2.187 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/4.06, allocations: 105.9 kB / 2.187 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/4.062, allocations: 1.366 MB / 2.189 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/4.062, allocations: 3.031 kB / 2.189 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/4.062, allocations: 46.42 kB / 2.189 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/4.062, allocations: 28.44 kB / 2.189 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002884/4.065, allocations: 1.265 MB / 2.19 GB, free: 141.9 MB / 0.8855 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.007368/4.073, allocations: 6.435 MB / 2.196 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/4.075, allocations: 1.27 MB / 2.197 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/4.077, allocations: 2.258 MB / 2.2 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/4.078, allocations: 0.8482 MB / 2.2 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=100): time 3.607e-06/4.078, allocations: 0 / 2.2 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=100): time 0.004946/4.083, allocations: 2.516 MB / 2.203 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/4.083, allocations: 144.3 kB / 2.203 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/4.085, allocations: 1.053 MB / 2.204 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/4.085, allocations: 47.52 kB / 2.204 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/4.085, allocations: 0.6916 MB / 2.205 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/4.085, allocations: 334.9 kB / 2.205 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/4.085, allocations: 19.31 kB / 2.205 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/4.086, allocations: 344.4 kB / 2.205 GB, free: 134 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/4.087, allocations: 0.5817 MB / 2.206 GB, free: 134 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/4.088, allocations: 0.8522 MB / 2.207 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/4.09, allocations: 0.7152 MB / 2.208 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/4.09, allocations: 0 / 2.208 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00363/4.093, allocations: 1.815 MB / 2.209 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003315/4.094, allocations: 1.713 MB / 2.211 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/4.094, allocations: 3.844 kB / 2.211 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/4.094, allocations: 9.844 kB / 2.211 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/4.095, allocations: 286.8 kB / 2.211 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/4.095, allocations: 11.41 kB / 2.211 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/4.097, allocations: 235.3 kB / 2.212 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/4.097, allocations: 61.34 kB / 2.212 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/4.097, allocations: 8.781 kB / 2.212 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003342/4.1, allocations: 1.715 MB / 2.213 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/4.1, allocations: 5.688 kB / 2.213 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/4.1, allocations: 6.719 kB / 2.213 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/4.101, allocations: 287.1 kB / 2.214 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/4.101, allocations: 7.062 kB / 2.214 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/4.103, allocations: 231.5 kB / 2.214 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/4.103, allocations: 61.25 kB / 2.214 GB, free: 131.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.0007769/4.104, allocations: 0.4966 MB / 2.214 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/4.104, allocations: 159.6 kB / 2.214 GB, free: 131 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004426/4.108, allocations: 2.383 MB / 2.217 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/4.109, allocations: 18.61 kB / 2.217 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/4.109, allocations: 0 / 2.217 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/4.109, allocations: 9.203 kB / 2.217 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006321/4.115, allocations: 3.742 MB / 2.22 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/4.115, allocations: 6.781 kB / 2.22 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/4.116, allocations: 235.3 kB / 2.221 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/4.116, allocations: 7.625 kB / 2.221 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.164e-05/4.116, allocations: 37.67 kB / 2.221 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/4.116, allocations: 7.781 kB / 2.221 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/4.116, allocations: 0 / 2.221 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005525/4.122, allocations: 3.252 MB / 2.224 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008958/4.123, allocations: 404.6 kB / 2.224 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/4.123, allocations: 31.33 kB / 2.224 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/4.124, allocations: 176.4 kB / 2.225 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/4.124, allocations: 71.02 kB / 2.225 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/4.124, allocations: 58.41 kB / 2.225 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001106/4.125, allocations: 0.8218 MB / 2.225 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.71e-07/4.125, allocations: 1.031 kB / 2.225 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002552/4.128, allocations: 0.9218 MB / 2.226 GB, free: 129.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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 Backend phase and start with SimCode phase: time 0.001674/4.13, allocations: 0.978 MB / 2.227 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005047/4.135, allocations: 2.756 MB / 2.23 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/4.135, allocations: 2.312 kB / 2.23 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/4.136, allocations: 1.086 MB / 2.231 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/4.139, allocations: 0.6268 MB / 2.232 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/4.145, allocations: 3.748 MB / 2.235 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005941/4.145, allocations: 1.311 MB / 2.237 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001696/4.147, allocations: 425 kB / 2.237 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/4.147, allocations: 146.7 kB / 2.237 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.202e-06/4.147, allocations: 0 / 2.237 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.04876/4.196, allocations: 34.27 MB / 2.271 GB, free: 123.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches