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.356/1.356, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001079/0.001079, allocations: 180.8 kB / 326.5 MB, free: 2.262 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.558/1.558, 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.0008106/0.0008105, allocations: 86.28 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 9 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1952, allocations: 106.4 MB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7701/0.9654, allocations: 382.7 MB / 1.274 GB, free: 1.199 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.9657, allocations: 91.64 kB / 1.274 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.635/5.601, allocations: 1.465 GB / 2.739 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.425e-06/5.601, allocations: 3.938 kB / 2.739 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002589/5.601, allocations: 55.97 kB / 2.739 GB, free: 14.24 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.005911/5.607, allocations: 2.199 MB / 2.741 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/5.607, allocations: 12.03 kB / 2.741 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/5.611, allocations: 0.6143 MB / 2.742 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004405/5.615, allocations: 1.491 MB / 2.743 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.733e-05/5.615, allocations: 82 kB / 2.743 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004353/5.616, allocations: 119.9 kB / 2.743 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/5.619, allocations: 1.373 MB / 2.745 GB, free: 8.148 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/5.619, allocations: 4 kB / 2.745 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/5.619, allocations: 40.34 kB / 2.745 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/5.619, allocations: 31.95 kB / 2.745 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/5.622, allocations: 1.237 MB / 2.746 GB, free: 6.84 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.008796/5.631, allocations: 6.668 MB / 2.752 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003334/5.634, allocations: 1.253 MB / 2.754 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002023/5.636, allocations: 2.264 MB / 2.756 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002009/5.638, allocations: 0.8387 MB / 2.757 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=97): time 3.767e-06/5.638, allocations: 0 / 2.757 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of matching and sorting (n=97): time 0.006023/5.645, allocations: 2.466 MB / 2.759 GB, free: 8.215 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/5.645, allocations: 145.2 kB / 2.759 GB, free: 8.043 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/5.647, allocations: 1.071 MB / 2.76 GB, free: 6.965 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001666/5.647, allocations: 49.64 kB / 2.76 GB, free: 6.91 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007605/5.648, allocations: 0.7057 MB / 2.761 GB, free: 6.195 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003721/5.648, allocations: 327.3 kB / 2.761 GB, free: 5.871 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.901e-05/5.648, allocations: 20 kB / 2.761 GB, free: 5.852 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001501/5.648, allocations: 341.9 kB / 2.762 GB, free: 5.512 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/5.65, allocations: 0.5917 MB / 2.762 GB, free: 4.918 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/5.652, allocations: 0.8866 MB / 2.763 GB, free: 3.914 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/5.654, allocations: 0.7208 MB / 2.764 GB, free: 3.176 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/5.654, allocations: 4 kB / 2.764 GB, free: 3.172 MB / 0.9011 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004556/5.658, allocations: 1.847 MB / 2.766 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.4972/6.155, allocations: 2.248 MB / 2.768 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/6.155, allocations: 6.875 kB / 2.768 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.886e-05/6.155, allocations: 13.81 kB / 2.768 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/6.157, allocations: 293.5 kB / 2.768 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.178e-05/6.157, allocations: 13.7 kB / 2.768 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/6.159, allocations: 247.7 kB / 2.768 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/6.159, allocations: 63.34 kB / 2.768 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/6.159, allocations: 5.969 kB / 2.768 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003742/6.163, allocations: 1.746 MB / 2.77 GB, free: 136.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/6.163, allocations: 5.312 kB / 2.77 GB, free: 136.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/6.163, allocations: 12.53 kB / 2.77 GB, free: 136.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/6.164, allocations: 290 kB / 2.77 GB, free: 136.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/6.164, allocations: 16.2 kB / 2.77 GB, free: 136.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/6.166, allocations: 241.8 kB / 2.771 GB, free: 136.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/6.166, allocations: 65.53 kB / 2.771 GB, free: 136.3 MB / 0.9011 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 () * Number of clocked 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.0009138/6.167, allocations: 0.4982 MB / 2.771 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/6.168, allocations: 168.9 kB / 2.771 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/6.173, allocations: 2.339 MB / 2.774 GB, free: 135.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-05/6.173, allocations: 23.48 kB / 2.774 GB, free: 135.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/6.173, allocations: 0.75 kB / 2.774 GB, free: 135.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/6.173, allocations: 4.547 kB / 2.774 GB, free: 135.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008481/6.181, allocations: 3.687 MB / 2.777 GB, free: 135.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/6.181, allocations: 1 kB / 2.777 GB, free: 135.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/6.182, allocations: 231.2 kB / 2.778 GB, free: 135.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/6.182, allocations: 8.641 kB / 2.778 GB, free: 135.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/6.183, allocations: 49.36 kB / 2.778 GB, free: 135.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/6.183, allocations: 6.531 kB / 2.778 GB, free: 135.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/6.183, allocations: 1.25 kB / 2.778 GB, free: 135.4 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0071/6.19, allocations: 3.206 MB / 2.781 GB, free: 134.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/6.191, allocations: 407.4 kB / 2.781 GB, free: 134.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/6.191, allocations: 32.27 kB / 2.781 GB, free: 134.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/6.192, allocations: 172.5 kB / 2.781 GB, free: 134.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/6.193, allocations: 72.97 kB / 2.781 GB, free: 134.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/6.193, allocations: 54.98 kB / 2.781 GB, free: 134.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001396/6.194, allocations: 0.8293 MB / 2.782 GB, free: 134.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/6.194, allocations: 0 / 2.782 GB, free: 134.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00299/6.197, allocations: 0.9284 MB / 2.783 GB, free: 134.6 MB / 0.9011 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) * Number of clocked states: 0 () * 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.001869/6.199, allocations: 0.9781 MB / 2.784 GB, free: 134.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00598/6.205, allocations: 2.769 MB / 2.787 GB, free: 134.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/6.205, allocations: 0 / 2.787 GB, free: 134.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001891/6.207, allocations: 1.075 MB / 2.788 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/6.21, allocations: 0.625 MB / 2.788 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005869/6.216, allocations: 3.962 MB / 2.792 GB, free: 132.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/6.216, allocations: 1.315 MB / 2.794 GB, free: 131.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001791/6.218, allocations: 428.9 kB / 2.794 GB, free: 131.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/6.219, allocations: 143 kB / 2.794 GB, free: 131.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.523e-06/6.219, allocations: 0 / 2.794 GB, free: 131.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.05312/6.272, allocations: 34.4 MB / 2.828 GB, free: 130.4 MB / 0.9011 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