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.534/1.534, allocations: 249.5 MB / 257 MB, free: 6.965 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.001267/0.001266, allocations: 180.8 kB / 316.3 MB, free: 3.234 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.773/1.773, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.001062/0.001062, allocations: 85.5 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.086e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2581, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.317, allocations: 382.9 MB / 1.259 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/1.317, allocations: 86.8 kB / 1.259 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.434/7.751, allocations: 1.453 GB / 2.713 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.765e-06/7.751, allocations: 3.062 kB / 2.713 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003431/7.751, allocations: 55.42 kB / 2.713 GB, free: 141.8 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.007572/7.759, allocations: 1.886 MB / 2.714 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.247e-05/7.759, allocations: 7.344 kB / 2.714 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003871/7.763, allocations: 0.6035 MB / 2.715 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/7.767, allocations: 1.483 MB / 2.716 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.279e-05/7.768, allocations: 30.22 kB / 2.717 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/7.768, allocations: 70.41 kB / 2.717 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001644/7.77, allocations: 0.828 MB / 2.717 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/7.771, allocations: 1.058 MB / 2.718 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/7.771, allocations: 8.469 kB / 2.718 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/7.771, allocations: 3.562 kB / 2.718 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/7.771, allocations: 26 kB / 2.718 GB, free: 140.3 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.008339/7.78, allocations: 6.475 MB / 2.725 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/7.781, allocations: 0.8909 MB / 2.726 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/7.782, allocations: 0.4926 MB / 2.726 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00156/7.783, allocations: 2.254 MB / 2.728 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008497/7.784, allocations: 0.6449 MB / 2.729 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=97): time 4.859e-06/7.784, allocations: 0 / 2.729 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97): time 0.003612/7.788, allocations: 1.414 MB / 2.73 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/7.788, allocations: 145.8 kB / 2.73 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/7.789, allocations: 0.9085 MB / 2.731 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/7.789, allocations: 29.58 kB / 2.731 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005996/7.79, allocations: 0.7143 MB / 2.732 GB, free: 133 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/7.79, allocations: 311.8 kB / 2.732 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/7.79, allocations: 2.469 kB / 2.732 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001068/7.79, allocations: 349.5 kB / 2.733 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005601/7.791, allocations: 403.9 kB / 2.733 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008081/7.792, allocations: 0.6924 MB / 2.734 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/7.794, allocations: 0.6795 MB / 2.734 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/7.794, allocations: 0 / 2.734 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003357/7.797, allocations: 1.557 MB / 2.736 GB, free: 132 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006342/7.798, allocations: 2.245 MB / 2.738 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/7.798, allocations: 3.875 kB / 2.738 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-05/7.798, allocations: 10.84 kB / 2.738 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/7.799, allocations: 293.1 kB / 2.738 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/7.799, allocations: 16.47 kB / 2.738 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/7.801, allocations: 222.3 kB / 2.739 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/7.801, allocations: 62.31 kB / 2.739 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/7.801, allocations: 3.719 kB / 2.739 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003303/7.805, allocations: 1.428 MB / 2.74 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/7.805, allocations: 8.344 kB / 2.74 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/7.805, allocations: 10.16 kB / 2.74 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/7.806, allocations: 291 kB / 2.74 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.646e-05/7.806, allocations: 16.48 kB / 2.74 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/7.808, allocations: 213.9 kB / 2.741 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/7.808, allocations: 59.09 kB / 2.741 GB, free: 129.5 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.0004952/7.809, allocations: 248.5 kB / 2.741 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005777/7.809, allocations: 158.4 kB / 2.741 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004784/7.814, allocations: 1.989 MB / 2.743 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-05/7.814, allocations: 19.83 kB / 2.743 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/7.814, allocations: 3.391 kB / 2.743 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/7.814, allocations: 6.141 kB / 2.743 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007271/7.821, allocations: 3.201 MB / 2.746 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/7.821, allocations: 2.812 kB / 2.746 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/7.823, allocations: 227.8 kB / 2.746 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-05/7.823, allocations: 7.406 kB / 2.746 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/7.823, allocations: 40.31 kB / 2.746 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/7.823, allocations: 3.219 kB / 2.746 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/7.823, allocations: 6.938 kB / 2.746 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004998/7.828, allocations: 2.679 MB / 2.749 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/7.829, allocations: 393.4 kB / 2.749 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000504/7.829, allocations: 18.12 kB / 2.749 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/7.831, allocations: 160.6 kB / 2.75 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/7.831, allocations: 71.14 kB / 2.75 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/7.831, allocations: 55.62 kB / 2.75 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001416/7.833, allocations: 0.681 MB / 2.75 GB, free: 128 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/7.833, allocations: 0 / 2.75 GB, free: 128 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003826/7.837, allocations: 0.8936 MB / 2.751 GB, free: 127.9 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.002449/7.839, allocations: 0.9719 MB / 2.752 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00349/7.843, allocations: 2.215 MB / 2.754 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/7.843, allocations: 0 / 2.754 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/7.844, allocations: 0.8776 MB / 2.755 GB, free: 127 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/7.847, allocations: 0.5455 MB / 2.756 GB, free: 127 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005408/7.853, allocations: 2.611 MB / 2.758 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/7.854, allocations: 1.314 MB / 2.76 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002563/7.856, allocations: 488.8 kB / 2.76 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/7.857, allocations: 117.8 kB / 2.76 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.553e-06/7.857, allocations: 0 / 2.76 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.0546/7.911, allocations: 31.82 MB / 2.791 GB, free: 123.6 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