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.468/1.468, allocations: 249.5 MB / 257 MB, free: 6.848 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.001399/0.001399, allocations: 183.7 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 2.077/2.077, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.001245/0.001245, allocations: 85.86 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.737e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2529, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.319, allocations: 382.6 MB / 1.259 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/1.32, allocations: 95.09 kB / 1.259 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.905/5.225, allocations: 0.9016 GB / 2.161 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.044e-06/5.225, allocations: 4 kB / 2.161 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001678/5.225, allocations: 46.17 kB / 2.161 GB, free: 104.4 MB / 0.8698 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.004416/5.229, allocations: 1.877 MB / 2.162 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.891e-05/5.229, allocations: 8.031 kB / 2.162 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/5.232, allocations: 0.6096 MB / 2.163 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/5.236, allocations: 1.466 MB / 2.165 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/5.236, allocations: 32 kB / 2.165 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/5.236, allocations: 68 kB / 2.165 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001471/5.237, allocations: 0.8592 MB / 2.165 GB, free: 99.45 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/5.239, allocations: 1.051 MB / 2.166 GB, free: 98.34 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/5.239, allocations: 6.469 kB / 2.166 GB, free: 98.34 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/5.239, allocations: 4.344 kB / 2.166 GB, free: 98.33 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/5.239, allocations: 27.95 kB / 2.167 GB, free: 98.3 MB / 0.8698 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.00719/5.246, allocations: 6.23 MB / 2.173 GB, free: 91.68 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/5.248, allocations: 0.9098 MB / 2.173 GB, free: 90.77 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/5.248, allocations: 0.5011 MB / 2.174 GB, free: 90.26 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/5.25, allocations: 2.254 MB / 2.176 GB, free: 87.52 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007941/5.251, allocations: 0.6557 MB / 2.177 GB, free: 86.84 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=100): time 4.599e-06/5.251, allocations: 0 / 2.177 GB, free: 86.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100): time 0.003493/5.254, allocations: 1.459 MB / 2.178 GB, free: 85.37 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/5.254, allocations: 151.5 kB / 2.178 GB, free: 85.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/5.255, allocations: 0.8946 MB / 2.179 GB, free: 84.29 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.076e-05/5.255, allocations: 33.2 kB / 2.179 GB, free: 84.26 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004781/5.256, allocations: 0.7013 MB / 2.18 GB, free: 83.55 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/5.256, allocations: 311.3 kB / 2.18 GB, free: 83.24 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/5.256, allocations: 6.062 kB / 2.18 GB, free: 83.23 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001007/5.256, allocations: 345.9 kB / 2.181 GB, free: 82.89 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004903/5.257, allocations: 402.5 kB / 2.181 GB, free: 82.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/5.257, allocations: 0.6558 MB / 2.182 GB, free: 81.74 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/5.259, allocations: 0.6982 MB / 2.182 GB, free: 81.05 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/5.259, allocations: 0 / 2.182 GB, free: 81.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002931/5.262, allocations: 1.573 MB / 2.184 GB, free: 79.47 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005014/5.263, allocations: 1.708 MB / 2.186 GB, free: 77.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/5.263, allocations: 4 kB / 2.186 GB, free: 77.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.545e-05/5.263, allocations: 8 kB / 2.186 GB, free: 77.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/5.264, allocations: 295.2 kB / 2.186 GB, free: 77.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/5.264, allocations: 8 kB / 2.186 GB, free: 77.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/5.265, allocations: 203 kB / 2.186 GB, free: 77.08 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/5.266, allocations: 63.97 kB / 2.186 GB, free: 77.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/5.266, allocations: 4 kB / 2.186 GB, free: 77.01 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002747/5.268, allocations: 1.441 MB / 2.187 GB, free: 75.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/5.268, allocations: 4 kB / 2.187 GB, free: 75.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/5.268, allocations: 15.92 kB / 2.187 GB, free: 75.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/5.269, allocations: 281.7 kB / 2.188 GB, free: 75.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/5.269, allocations: 11.94 kB / 2.188 GB, free: 75.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/5.271, allocations: 203.1 kB / 2.188 GB, free: 75.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/5.271, allocations: 63.92 kB / 2.188 GB, free: 75.01 MB / 0.8698 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 () * 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.000349/5.271, allocations: 242.4 kB / 2.188 GB, free: 74.75 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/5.272, allocations: 154.1 kB / 2.188 GB, free: 74.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004023/5.276, allocations: 2.051 MB / 2.19 GB, free: 72.54 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/5.276, allocations: 19.98 kB / 2.19 GB, free: 72.52 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/5.276, allocations: 0 / 2.19 GB, free: 72.52 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/5.276, allocations: 3.984 kB / 2.19 GB, free: 72.52 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00552/5.281, allocations: 3.282 MB / 2.194 GB, free: 69.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/5.281, allocations: 12.11 kB / 2.194 GB, free: 69.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/5.282, allocations: 231.7 kB / 2.194 GB, free: 68.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-05/5.282, allocations: 8 kB / 2.194 GB, free: 68.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.561e-05/5.282, allocations: 31.97 kB / 2.194 GB, free: 68.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/5.283, allocations: 4 kB / 2.194 GB, free: 68.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/5.283, allocations: 4 kB / 2.194 GB, free: 68.92 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004108/5.287, allocations: 2.748 MB / 2.197 GB, free: 66.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007001/5.287, allocations: 390.7 kB / 2.197 GB, free: 65.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/5.288, allocations: 19.95 kB / 2.197 GB, free: 65.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/5.289, allocations: 158.8 kB / 2.197 GB, free: 65.52 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/5.289, allocations: 72.97 kB / 2.197 GB, free: 65.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/5.289, allocations: 59.95 kB / 2.197 GB, free: 65.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009048/5.29, allocations: 0.6722 MB / 2.198 GB, free: 64.73 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/5.29, allocations: 3.938 kB / 2.198 GB, free: 64.72 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002691/5.293, allocations: 0.8914 MB / 2.199 GB, free: 63.83 MB / 0.8698 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) * 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.001857/5.294, allocations: 0.9892 MB / 2.2 GB, free: 62.96 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002741/5.297, allocations: 2.201 MB / 2.202 GB, free: 60.69 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/5.297, allocations: 4 kB / 2.202 GB, free: 60.68 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008397/5.298, allocations: 0.8902 MB / 2.203 GB, free: 59.76 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/5.301, allocations: 0.5275 MB / 2.203 GB, free: 59.24 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/5.305, allocations: 2.415 MB / 2.206 GB, free: 56.82 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006917/5.306, allocations: 1.319 MB / 2.207 GB, free: 55.47 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00208/5.308, allocations: 490 kB / 2.207 GB, free: 55.02 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/5.308, allocations: 115.4 kB / 2.208 GB, free: 54.91 MB / 0.8698 GB Notification: Performance of SimCode: time 1.463e-06/5.308, allocations: 0 / 2.208 GB, free: 54.91 MB / 0.8698 GB Notification: Performance of Templates: time 0.05073/5.359, allocations: 31.71 MB / 2.238 GB, free: 23.89 MB / 0.8698 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