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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.214/1.214, allocations: 249.4 MB / 256.7 MB, free: 7.047 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.001052/0.001052, allocations: 180.3 kB / 316 MB, free: 3.574 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.052/1.052, allocations: 205.1 MB / 0.5667 GB, free: 15.65 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.0008916/0.0008915, allocations: 86.59 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.502e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 106.3 MB / 0.8846 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6624/0.8263, allocations: 382.7 MB / 1.258 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.8266, allocations: 88.56 kB / 1.258 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.542/3.369, allocations: 0.9074 GB / 2.166 GB, free: 85.79 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001295/3.369, allocations: 54.5 kB / 2.166 GB, free: 85.74 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.002661/3.371, allocations: 1.879 MB / 2.168 GB, free: 83.82 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/3.371, allocations: 8.031 kB / 2.168 GB, free: 83.81 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/3.374, allocations: 0.6693 MB / 2.168 GB, free: 83.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/3.377, allocations: 1.493 MB / 2.17 GB, free: 81.68 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/3.377, allocations: 32 kB / 2.17 GB, free: 81.65 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/3.378, allocations: 71.91 kB / 2.17 GB, free: 81.58 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001361/3.379, allocations: 0.8631 MB / 2.171 GB, free: 80.72 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/3.38, allocations: 1.048 MB / 2.172 GB, free: 79.61 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/3.38, allocations: 0 / 2.172 GB, free: 79.61 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/3.38, allocations: 4 kB / 2.172 GB, free: 79.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/3.38, allocations: 24 kB / 2.172 GB, free: 79.58 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006426/3.387, allocations: 6.481 MB / 2.178 GB, free: 72.77 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/3.388, allocations: 0.8558 MB / 2.179 GB, free: 71.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/3.389, allocations: 0.503 MB / 2.179 GB, free: 71.39 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/3.39, allocations: 2.263 MB / 2.182 GB, free: 68.65 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006863/3.391, allocations: 0.6435 MB / 2.182 GB, free: 67.98 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=100): time 3.276e-06/3.391, allocations: 0 / 2.182 GB, free: 67.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100): time 0.002973/3.394, allocations: 1.375 MB / 2.184 GB, free: 66.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/3.394, allocations: 145.3 kB / 2.184 GB, free: 66.42 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009228/3.395, allocations: 0.8976 MB / 2.185 GB, free: 65.52 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.758e-05/3.395, allocations: 29.7 kB / 2.185 GB, free: 65.48 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/3.395, allocations: 446.5 kB / 2.185 GB, free: 65.04 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/3.395, allocations: 316.5 kB / 2.185 GB, free: 64.73 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/3.395, allocations: 4 kB / 2.185 GB, free: 64.72 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.083e-05/3.395, allocations: 345.8 kB / 2.186 GB, free: 64.38 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/3.396, allocations: 409.3 kB / 2.186 GB, free: 63.98 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/3.396, allocations: 0.6585 MB / 2.187 GB, free: 63.22 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/3.398, allocations: 0.7321 MB / 2.187 GB, free: 62.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/3.398, allocations: 7.594 kB / 2.187 GB, free: 62.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002846/3.401, allocations: 1.476 MB / 2.189 GB, free: 61.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00027/3.401, allocations: 1.619 MB / 2.19 GB, free: 59.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/3.401, allocations: 4 kB / 2.19 GB, free: 59.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/3.401, allocations: 8 kB / 2.19 GB, free: 59.24 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/3.403, allocations: 297.9 kB / 2.191 GB, free: 58.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/3.403, allocations: 11.98 kB / 2.191 GB, free: 58.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/3.404, allocations: 214.2 kB / 2.191 GB, free: 58.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/3.404, allocations: 59.97 kB / 2.191 GB, free: 58.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/3.404, allocations: 7.984 kB / 2.191 GB, free: 58.69 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002652/3.407, allocations: 1.291 MB / 2.192 GB, free: 57.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/3.407, allocations: 6.562 kB / 2.192 GB, free: 57.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.557e-06/3.407, allocations: 8 kB / 2.192 GB, free: 57.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/3.408, allocations: 294.2 kB / 2.193 GB, free: 57.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/3.408, allocations: 8 kB / 2.193 GB, free: 57.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/3.41, allocations: 216.1 kB / 2.193 GB, free: 56.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/3.41, allocations: 59.91 kB / 2.193 GB, free: 56.86 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.0002941/3.41, allocations: 243.6 kB / 2.193 GB, free: 56.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/3.41, allocations: 155.5 kB / 2.193 GB, free: 56.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/3.414, allocations: 2.101 MB / 2.195 GB, free: 54.35 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/3.414, allocations: 19.98 kB / 2.195 GB, free: 54.33 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/3.414, allocations: 0 / 2.195 GB, free: 54.33 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/3.414, allocations: 7.969 kB / 2.195 GB, free: 54.32 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005417/3.42, allocations: 3.221 MB / 2.198 GB, free: 51.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/3.42, allocations: 3.938 kB / 2.198 GB, free: 51.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/3.421, allocations: 243.8 kB / 2.199 GB, free: 50.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/3.421, allocations: 15.7 kB / 2.199 GB, free: 50.81 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-05/3.421, allocations: 32.75 kB / 2.199 GB, free: 50.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/3.421, allocations: 11.91 kB / 2.199 GB, free: 50.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/3.421, allocations: 0 / 2.199 GB, free: 50.77 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004109/3.425, allocations: 2.667 MB / 2.201 GB, free: 48.03 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000889/3.426, allocations: 407.6 kB / 2.202 GB, free: 47.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/3.427, allocations: 16 kB / 2.202 GB, free: 47.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/3.428, allocations: 172.8 kB / 2.202 GB, free: 47.43 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/3.428, allocations: 68.89 kB / 2.202 GB, free: 47.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/3.428, allocations: 55.97 kB / 2.202 GB, free: 47.31 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008398/3.429, allocations: 0.6722 MB / 2.203 GB, free: 46.64 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002286/3.431, allocations: 0.8861 MB / 2.204 GB, free: 45.75 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.001534/3.433, allocations: 0.9775 MB / 2.204 GB, free: 44.88 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002252/3.435, allocations: 1.933 MB / 2.206 GB, free: 42.91 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/3.435, allocations: 2.125 kB / 2.206 GB, free: 42.91 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000778/3.436, allocations: 0.8143 MB / 2.207 GB, free: 42.08 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/3.438, allocations: 0.523 MB / 2.208 GB, free: 41.58 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/3.442, allocations: 2.504 MB / 2.21 GB, free: 39.07 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009482/3.443, allocations: 1.502 MB / 2.212 GB, free: 37.54 MB / 0.8698 GB Notification: Performance of SimCode: time 7.91e-07/3.443, allocations: 0 / 2.212 GB, free: 37.54 MB / 0.8698 GB Notification: Performance of Templates: time 0.05005/3.493, allocations: 37.38 MB / 2.248 GB, free: 0.6836 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