Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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_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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.514/1.514, allocations: 249.3 MB / 261.9 MB, free: 5.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 182.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008639/0.000864, allocations: 90.7 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.193e-05/4.196e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2368, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.26, allocations: 382.6 MB / 1.265 GB, free: 304 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/1.261, allocations: 84.27 kB / 1.265 GB, free: 260 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.406/7.666, allocations: 1.46 GB / 2.726 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.433e-06/7.666, allocations: 0 / 2.726 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001655/7.666, allocations: 55.86 kB / 2.726 GB, free: 137.9 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.003998/7.671, allocations: 1.886 MB / 2.728 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/7.671, allocations: 11.19 kB / 2.728 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003124/7.674, allocations: 0.604 MB / 2.728 GB, free: 137 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003686/7.677, allocations: 1.48 MB / 2.73 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/7.677, allocations: 91.53 kB / 2.73 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/7.678, allocations: 111.3 kB / 2.73 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/7.68, allocations: 1.196 MB / 2.731 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/7.68, allocations: 3.031 kB / 2.731 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/7.68, allocations: 41.62 kB / 2.731 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/7.68, allocations: 23.69 kB / 2.731 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/7.681, allocations: 0.9055 MB / 2.732 GB, free: 136.4 MB / 0.8855 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.008044/7.689, allocations: 6.662 MB / 2.738 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/7.691, allocations: 0.9294 MB / 2.739 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006617/7.692, allocations: 0.5116 MB / 2.74 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/7.693, allocations: 2.262 MB / 2.742 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008892/7.694, allocations: 0.6703 MB / 2.743 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=97): time 3.526e-06/7.694, allocations: 2.656 kB / 2.743 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97): time 0.002454/7.697, allocations: 1.316 MB / 2.744 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/7.697, allocations: 146.9 kB / 2.744 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/7.698, allocations: 1.046 MB / 2.745 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/7.698, allocations: 42.86 kB / 2.745 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/7.699, allocations: 0.7125 MB / 2.746 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/7.699, allocations: 324.4 kB / 2.746 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/7.699, allocations: 21.34 kB / 2.746 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.058e-05/7.699, allocations: 342 kB / 2.747 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006305/7.7, allocations: 429.8 kB / 2.747 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008405/7.701, allocations: 0.7214 MB / 2.748 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007286/7.701, allocations: 0.5515 MB / 2.748 GB, free: 128 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/7.701, allocations: 3.906 kB / 2.748 GB, free: 128 MB / 0.8855 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002517/7.704, allocations: 1.5 MB / 2.75 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005873/7.705, allocations: 2.26 MB / 2.752 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/7.705, allocations: 7.094 kB / 2.752 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.513e-05/7.705, allocations: 10.5 kB / 2.752 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/7.706, allocations: 294.1 kB / 2.752 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.532e-05/7.706, allocations: 21.08 kB / 2.752 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/7.708, allocations: 251.8 kB / 2.752 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/7.708, allocations: 63.03 kB / 2.752 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/7.708, allocations: 3.969 kB / 2.752 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00219/7.71, allocations: 1.401 MB / 2.754 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/7.71, allocations: 7.719 kB / 2.754 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/7.71, allocations: 10.97 kB / 2.754 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/7.711, allocations: 292.5 kB / 2.754 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/7.711, allocations: 18.17 kB / 2.754 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/7.713, allocations: 240.1 kB / 2.754 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/7.714, allocations: 61.09 kB / 2.754 GB, free: 125.2 MB / 0.8855 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.0004318/7.714, allocations: 286.3 kB / 2.755 GB, free: 125 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/7.714, allocations: 166.3 kB / 2.755 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/7.718, allocations: 1.999 MB / 2.757 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/7.718, allocations: 24.5 kB / 2.757 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/7.718, allocations: 0 / 2.757 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/7.718, allocations: 7.844 kB / 2.757 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005169/7.723, allocations: 3.339 MB / 2.76 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/7.723, allocations: 1.844 kB / 2.76 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/7.724, allocations: 230.5 kB / 2.76 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/7.724, allocations: 10.5 kB / 2.76 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.673e-05/7.724, allocations: 39.98 kB / 2.76 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/7.724, allocations: 5.5 kB / 2.76 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/7.724, allocations: 7.484 kB / 2.76 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003616/7.728, allocations: 2.695 MB / 2.763 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009212/7.729, allocations: 404 kB / 2.763 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/7.729, allocations: 32.56 kB / 2.763 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/7.73, allocations: 172.2 kB / 2.764 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/7.731, allocations: 71.27 kB / 2.764 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/7.731, allocations: 53.2 kB / 2.764 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001208/7.732, allocations: 0.8103 MB / 2.765 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.71e-07/7.732, allocations: 0 / 2.765 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002952/7.735, allocations: 0.9234 MB / 2.765 GB, free: 123.2 MB / 0.8855 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.001921/7.737, allocations: 0.9761 MB / 2.766 GB, free: 123 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00319/7.74, allocations: 2.311 MB / 2.769 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/7.74, allocations: 3.469 kB / 2.769 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/7.741, allocations: 0.8998 MB / 2.77 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/7.744, allocations: 0.6258 MB / 2.77 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/7.749, allocations: 2.682 MB / 2.773 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/7.75, allocations: 1.325 MB / 2.774 GB, free: 121 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002187/7.752, allocations: 498.6 kB / 2.775 GB, free: 121 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/7.752, allocations: 117.4 kB / 2.775 GB, free: 121 MB / 0.8855 GB Notification: Performance of SimCode: time 1.042e-06/7.752, allocations: 0 / 2.775 GB, free: 121 MB / 0.8855 GB Notification: Performance of Templates: time 0.06341/7.815, allocations: 38.47 MB / 2.812 GB, free: 117.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches