Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,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_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,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_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.331/2.331, allocations: 390.5 MB / 398 MB, free: 10.96 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.001377/0.001377, allocations: 188.8 kB / 491.2 MB, free: 1.574 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.789/1.789, allocations: 221.5 MB / 0.7868 GB, free: 13.39 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.001024/0.001024, allocations: 91.83 kB / 0.9269 GB, free: 13.89 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.806e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3748, allocations: 143 MB / 1.212 GB, free: 39.58 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.494/1.869, allocations: 401.8 MB / 1.605 GB, free: 12.7 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004111/1.87, allocations: 85.5 kB / 1.605 GB, free: 12.66 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 7.067/8.937, allocations: 1.527 GB / 3.132 GB, free: 215.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.423e-06/8.937, allocations: 0 / 3.132 GB, free: 215.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001804/8.937, allocations: 52.81 kB / 3.132 GB, free: 215.3 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.004308/8.941, allocations: 1.875 MB / 3.134 GB, free: 214.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/8.942, allocations: 11.41 kB / 3.134 GB, free: 214.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00326/8.945, allocations: 0.6095 MB / 3.135 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003765/8.949, allocations: 1.432 MB / 3.136 GB, free: 214.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/8.949, allocations: 34.25 kB / 3.136 GB, free: 214.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/8.949, allocations: 70.22 kB / 3.136 GB, free: 214.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001533/8.95, allocations: 0.8259 MB / 3.137 GB, free: 214.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/8.952, allocations: 1.062 MB / 3.138 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/8.952, allocations: 5.906 kB / 3.138 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/8.952, allocations: 4.281 kB / 3.138 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/8.952, allocations: 29.52 kB / 3.138 GB, free: 214.1 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.008273/8.961, allocations: 6.45 MB / 3.144 GB, free: 210.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/8.962, allocations: 0.8948 MB / 3.145 GB, free: 210.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005976/8.963, allocations: 0.4886 MB / 3.146 GB, free: 210.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/8.964, allocations: 2.26 MB / 3.148 GB, free: 207.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008286/8.965, allocations: 0.648 MB / 3.148 GB, free: 207.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 3.837e-06/8.965, allocations: 0 / 3.148 GB, free: 207.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.003436/8.968, allocations: 1.394 MB / 3.15 GB, free: 207.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/8.968, allocations: 143.9 kB / 3.15 GB, free: 207.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/8.97, allocations: 0.8949 MB / 3.151 GB, free: 207.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.299e-05/8.97, allocations: 32.08 kB / 3.151 GB, free: 207.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005203/8.97, allocations: 0.7166 MB / 3.152 GB, free: 206.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/8.97, allocations: 307.3 kB / 3.152 GB, free: 206.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/8.971, allocations: 3.562 kB / 3.152 GB, free: 206.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/8.971, allocations: 345.9 kB / 3.152 GB, free: 206.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/8.971, allocations: 411.2 kB / 3.153 GB, free: 206.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006699/8.972, allocations: 0.6721 MB / 3.153 GB, free: 206.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/8.974, allocations: 0.668 MB / 3.154 GB, free: 206.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/8.974, allocations: 3.938 kB / 3.154 GB, free: 206.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00319/8.977, allocations: 1.558 MB / 3.155 GB, free: 206 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006088/8.978, allocations: 2.25 MB / 3.158 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/8.978, allocations: 7.5 kB / 3.158 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/8.978, allocations: 11.5 kB / 3.158 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/8.979, allocations: 290.3 kB / 3.158 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/8.979, allocations: 13.16 kB / 3.158 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/8.981, allocations: 216.1 kB / 3.158 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/8.981, allocations: 63.78 kB / 3.158 GB, free: 203.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/8.981, allocations: 8.312 kB / 3.158 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002955/8.984, allocations: 1.432 MB / 3.16 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/8.984, allocations: 7.625 kB / 3.16 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/8.984, allocations: 10.34 kB / 3.16 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/8.985, allocations: 286 kB / 3.16 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/8.985, allocations: 12.12 kB / 3.16 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/8.987, allocations: 206.1 kB / 3.16 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/8.987, allocations: 65.88 kB / 3.16 GB, free: 203.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * 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.000356/8.987, allocations: 236.3 kB / 3.16 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/8.987, allocations: 161.6 kB / 3.161 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/8.992, allocations: 1.992 MB / 3.162 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/8.992, allocations: 21.2 kB / 3.162 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/8.992, allocations: 0 / 3.162 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/8.992, allocations: 7.266 kB / 3.163 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005867/8.998, allocations: 3.196 MB / 3.166 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/8.998, allocations: 7.469 kB / 3.166 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/8.999, allocations: 231.1 kB / 3.166 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/8.999, allocations: 8.906 kB / 3.166 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.344e-05/8.999, allocations: 43.28 kB / 3.166 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/8.999, allocations: 3.031 kB / 3.166 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/8.999, allocations: 6.719 kB / 3.166 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004502/9.003, allocations: 2.674 MB / 3.169 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009322/9.004, allocations: 387.1 kB / 3.169 GB, free: 202.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/9.005, allocations: 11.66 kB / 3.169 GB, free: 202.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/9.006, allocations: 165.8 kB / 3.169 GB, free: 202.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/9.006, allocations: 66.78 kB / 3.169 GB, free: 202.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/9.006, allocations: 56.39 kB / 3.169 GB, free: 202.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009936/9.007, allocations: 0.6767 MB / 3.17 GB, free: 202.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/9.007, allocations: 0 / 3.17 GB, free: 202.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003048/9.01, allocations: 0.8925 MB / 3.171 GB, free: 202.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * 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.001876/9.012, allocations: 0.9887 MB / 3.172 GB, free: 201.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002865/9.015, allocations: 2.211 MB / 3.174 GB, free: 201.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/9.015, allocations: 0 / 3.174 GB, free: 201.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008985/9.016, allocations: 0.8763 MB / 3.175 GB, free: 201.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/9.019, allocations: 0.5063 MB / 3.175 GB, free: 201.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/9.023, allocations: 2.613 MB / 3.178 GB, free: 200.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/9.024, allocations: 1.312 MB / 3.179 GB, free: 199.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002122/9.026, allocations: 483.1 kB / 3.179 GB, free: 199.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/9.026, allocations: 118.5 kB / 3.18 GB, free: 199.9 MB / 1.167 GB Notification: Performance of SimCode: time 3.106e-06/9.026, allocations: 0 / 3.18 GB, free: 199.9 MB / 1.167 GB Notification: Performance of Templates: time 0.05649/9.083, allocations: 31.19 MB / 3.21 GB, free: 198.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches