Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.02/2.02, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 184.9 kB / 487 MB, free: 5.359 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.702/1.702, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 102.2 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.398e-06/9.428e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3377, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.562, allocations: 400.7 MB / 1.597 GB, free: 6.324 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/1.562, allocations: 87.41 kB / 1.597 GB, free: 6.281 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.345/4.907, allocations: 0.9531 GB / 2.55 GB, free: 21.65 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001443/4.907, allocations: 51.97 kB / 2.55 GB, free: 21.6 MB / 1.135 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.003291/4.911, allocations: 1.869 MB / 2.552 GB, free: 19.66 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/4.911, allocations: 8.031 kB / 2.552 GB, free: 19.66 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/4.914, allocations: 0.6611 MB / 2.552 GB, free: 18.99 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/4.917, allocations: 1.466 MB / 2.554 GB, free: 17.47 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/4.917, allocations: 32 kB / 2.554 GB, free: 17.44 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/4.917, allocations: 67.91 kB / 2.554 GB, free: 17.37 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001476/4.919, allocations: 0.867 MB / 2.555 GB, free: 16.5 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/4.92, allocations: 1.043 MB / 2.556 GB, free: 15.39 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/4.92, allocations: 7.938 kB / 2.556 GB, free: 15.39 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.705e-05/4.921, allocations: 0 / 2.556 GB, free: 15.39 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/4.921, allocations: 28 kB / 2.556 GB, free: 15.36 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007494/4.928, allocations: 6.473 MB / 2.562 GB, free: 8.41 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/4.929, allocations: 0.8651 MB / 2.563 GB, free: 7.535 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006027/4.93, allocations: 0.4952 MB / 2.563 GB, free: 7.039 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/4.931, allocations: 2.264 MB / 2.565 GB, free: 4.277 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007477/4.932, allocations: 0.6426 MB / 2.566 GB, free: 3.598 MB / 1.135 GB Notification: Performance of pre-optimization done (n=100): time 3.065e-06/4.932, allocations: 0 / 2.566 GB, free: 3.598 MB / 1.135 GB Notification: Performance of matching and sorting (n=100): time 0.003293/4.935, allocations: 1.379 MB / 2.567 GB, free: 2.211 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/4.936, allocations: 145.3 kB / 2.568 GB, free: 2.039 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/4.937, allocations: 0.8819 MB / 2.568 GB, free: 1.148 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-05/4.937, allocations: 29.7 kB / 2.568 GB, free: 1.113 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/4.937, allocations: 449.8 kB / 2.569 GB, free: 0.668 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/4.937, allocations: 311.4 kB / 2.569 GB, free: 368 kB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/4.937, allocations: 0 / 2.569 GB, free: 368 kB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.994e-05/4.937, allocations: 345.9 kB / 2.57 GB, free: 16 kB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006464/4.938, allocations: 405.9 kB / 2.57 GB, free: 15.61 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008043/4.939, allocations: 0.6437 MB / 2.571 GB, free: 14.87 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/4.941, allocations: 0.7323 MB / 2.571 GB, free: 14.14 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/4.941, allocations: 4 kB / 2.571 GB, free: 14.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003757/4.945, allocations: 1.473 MB / 2.573 GB, free: 12.66 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000838/4.946, allocations: 1.609 MB / 2.574 GB, free: 10.96 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/4.946, allocations: 4 kB / 2.574 GB, free: 10.96 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.158e-05/4.946, allocations: 11.91 kB / 2.574 GB, free: 10.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/4.947, allocations: 295.6 kB / 2.575 GB, free: 10.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/4.947, allocations: 19.92 kB / 2.575 GB, free: 10.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/4.949, allocations: 215 kB / 2.575 GB, free: 10.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/4.949, allocations: 55.97 kB / 2.575 GB, free: 10.38 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/4.949, allocations: 8 kB / 2.575 GB, free: 10.37 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003312/4.952, allocations: 1.285 MB / 2.576 GB, free: 9.078 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/4.952, allocations: 4.531 kB / 2.576 GB, free: 9.074 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/4.953, allocations: 12 kB / 2.576 GB, free: 9.062 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/4.954, allocations: 291.6 kB / 2.576 GB, free: 8.777 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/4.954, allocations: 8 kB / 2.576 GB, free: 8.77 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/4.956, allocations: 211.1 kB / 2.577 GB, free: 8.562 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/4.956, allocations: 67.91 kB / 2.577 GB, free: 8.496 MB / 1.151 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.000515/4.957, allocations: 239.5 kB / 2.577 GB, free: 8.238 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/4.957, allocations: 150.2 kB / 2.577 GB, free: 8.09 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00603/4.963, allocations: 2.119 MB / 2.579 GB, free: 5.957 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-05/4.963, allocations: 15.98 kB / 2.579 GB, free: 5.941 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/4.963, allocations: 0 / 2.579 GB, free: 5.941 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/4.963, allocations: 7.984 kB / 2.579 GB, free: 5.934 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009029/4.972, allocations: 3.219 MB / 2.582 GB, free: 2.652 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/4.972, allocations: 0 / 2.582 GB, free: 2.652 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/4.974, allocations: 251.8 kB / 2.583 GB, free: 2.406 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.378e-05/4.974, allocations: 4 kB / 2.583 GB, free: 2.402 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/4.974, allocations: 31.97 kB / 2.583 GB, free: 2.371 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/4.974, allocations: 8 kB / 2.583 GB, free: 2.363 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/4.974, allocations: 0 / 2.583 GB, free: 2.363 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.5864/5.56, allocations: 2.677 MB / 2.585 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/5.562, allocations: 397.6 kB / 2.586 GB, free: 315.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/5.562, allocations: 11.38 kB / 2.586 GB, free: 315.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/5.563, allocations: 168.2 kB / 2.586 GB, free: 315.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/5.563, allocations: 70 kB / 2.586 GB, free: 315.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/5.564, allocations: 57.59 kB / 2.586 GB, free: 315.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009437/5.564, allocations: 0.6711 MB / 2.587 GB, free: 315.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002751/5.567, allocations: 0.8746 MB / 2.587 GB, free: 315.1 MB / 1.151 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.00186/5.569, allocations: 0.9669 MB / 2.588 GB, free: 314.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002553/5.572, allocations: 1.926 MB / 2.59 GB, free: 314.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/5.572, allocations: 2.094 kB / 2.59 GB, free: 314.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009066/5.573, allocations: 0.8172 MB / 2.591 GB, free: 314.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/5.575, allocations: 0.495 MB / 2.591 GB, free: 314.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004985/5.58, allocations: 2.482 MB / 2.594 GB, free: 314.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/5.581, allocations: 1.494 MB / 2.595 GB, free: 313.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.082e-06/5.582, allocations: 0 / 2.595 GB, free: 313.3 MB / 1.151 GB Notification: Performance of Templates: time 0.06172/5.643, allocations: 36.82 MB / 2.631 GB, free: 312.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches