Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.988/1.988, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001273/0.001273, allocations: 176 kB / 490.8 MB, free: 1.895 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.493/1.493, allocations: 221.4 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 91.66 kB / 0.9264 GB, free: 14.13 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.028e-05/1.054e-05, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3405, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.454, allocations: 401.5 MB / 1.604 GB, free: 13.72 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/1.454, allocations: 84.23 kB / 1.604 GB, free: 13.68 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.412/4.866, allocations: 0.9531 GB / 2.557 GB, free: 58.59 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000271/4.867, allocations: 55.05 kB / 2.557 GB, free: 58.54 MB / 1.167 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.00459/4.871, allocations: 1.863 MB / 2.559 GB, free: 56.62 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/4.871, allocations: 12.03 kB / 2.559 GB, free: 56.61 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003646/4.875, allocations: 0.6619 MB / 2.559 GB, free: 55.95 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004623/4.88, allocations: 1.467 MB / 2.561 GB, free: 54.47 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/4.88, allocations: 36 kB / 2.561 GB, free: 54.43 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004028/4.88, allocations: 67.91 kB / 2.561 GB, free: 54.37 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001993/4.882, allocations: 0.8631 MB / 2.562 GB, free: 53.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/4.884, allocations: 1.047 MB / 2.563 GB, free: 52.39 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/4.884, allocations: 0 / 2.563 GB, free: 52.39 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/4.884, allocations: 4 kB / 2.563 GB, free: 52.39 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/4.884, allocations: 28 kB / 2.563 GB, free: 52.36 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008369/4.893, allocations: 6.449 MB / 2.569 GB, free: 45.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/4.894, allocations: 0.8751 MB / 2.57 GB, free: 44.62 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000629/4.895, allocations: 0.5031 MB / 2.57 GB, free: 44.12 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/4.896, allocations: 2.259 MB / 2.573 GB, free: 41.37 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007844/4.897, allocations: 0.6535 MB / 2.573 GB, free: 40.68 MB / 1.167 GB Notification: Performance of pre-optimization done (n=100): time 3.136e-06/4.897, allocations: 0 / 2.573 GB, free: 40.68 MB / 1.167 GB Notification: Performance of matching and sorting (n=100): time 0.003324/4.9, allocations: 1.367 MB / 2.575 GB, free: 39.31 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/4.9, allocations: 153.3 kB / 2.575 GB, free: 39.13 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/4.902, allocations: 0.8819 MB / 2.576 GB, free: 38.24 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.727e-05/4.902, allocations: 33.7 kB / 2.576 GB, free: 38.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/4.902, allocations: 433.9 kB / 2.576 GB, free: 37.77 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/4.902, allocations: 319.3 kB / 2.576 GB, free: 37.45 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/4.902, allocations: 0 / 2.576 GB, free: 37.45 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.546e-05/4.902, allocations: 341.9 kB / 2.577 GB, free: 37.11 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000547/4.903, allocations: 409.9 kB / 2.577 GB, free: 36.71 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006579/4.904, allocations: 0.6465 MB / 2.578 GB, free: 35.98 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/4.906, allocations: 0.7323 MB / 2.578 GB, free: 35.25 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/4.906, allocations: 0 / 2.578 GB, free: 35.25 MB / 1.167 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00325/4.909, allocations: 1.469 MB / 2.58 GB, free: 33.77 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002924/4.909, allocations: 1.617 MB / 2.581 GB, free: 32.07 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/4.909, allocations: 4 kB / 2.581 GB, free: 32.06 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/4.909, allocations: 8 kB / 2.581 GB, free: 32.05 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/4.911, allocations: 299.6 kB / 2.582 GB, free: 31.76 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/4.911, allocations: 11.91 kB / 2.582 GB, free: 31.75 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/4.912, allocations: 211.1 kB / 2.582 GB, free: 31.54 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/4.912, allocations: 71.89 kB / 2.582 GB, free: 31.47 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/4.912, allocations: 4 kB / 2.582 GB, free: 31.47 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002959/4.915, allocations: 1.293 MB / 2.583 GB, free: 30.17 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/4.915, allocations: 4 kB / 2.583 GB, free: 30.17 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/4.915, allocations: 8.531 kB / 2.583 GB, free: 30.16 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/4.917, allocations: 291.6 kB / 2.584 GB, free: 29.88 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/4.917, allocations: 15.98 kB / 2.584 GB, free: 29.86 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/4.918, allocations: 214.5 kB / 2.584 GB, free: 29.65 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/4.919, allocations: 55.97 kB / 2.584 GB, free: 29.6 MB / 1.167 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.0003232/4.919, allocations: 240.2 kB / 2.584 GB, free: 29.34 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/4.919, allocations: 150.2 kB / 2.584 GB, free: 29.19 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/4.924, allocations: 2.104 MB / 2.586 GB, free: 27.07 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.799e-05/4.924, allocations: 23.97 kB / 2.586 GB, free: 27.05 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/4.924, allocations: 0 / 2.586 GB, free: 27.05 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/4.924, allocations: 7.969 kB / 2.586 GB, free: 27.04 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006508/4.93, allocations: 3.207 MB / 2.589 GB, free: 23.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/4.93, allocations: 7.844 kB / 2.589 GB, free: 23.79 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/4.932, allocations: 251.3 kB / 2.59 GB, free: 23.55 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.796e-05/4.932, allocations: 8 kB / 2.59 GB, free: 23.54 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/4.932, allocations: 31.97 kB / 2.59 GB, free: 23.51 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/4.932, allocations: 8 kB / 2.59 GB, free: 23.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/4.932, allocations: 0 / 2.59 GB, free: 23.5 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004494/4.936, allocations: 2.67 MB / 2.592 GB, free: 20.75 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009676/4.937, allocations: 408 kB / 2.593 GB, free: 20.34 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004515/4.938, allocations: 12 kB / 2.593 GB, free: 20.32 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/4.939, allocations: 167.7 kB / 2.593 GB, free: 20.16 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/4.939, allocations: 64.89 kB / 2.593 GB, free: 20.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/4.94, allocations: 59.97 kB / 2.593 GB, free: 20.04 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001129/4.941, allocations: 0.6638 MB / 2.594 GB, free: 19.38 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003083/4.944, allocations: 0.8812 MB / 2.594 GB, free: 18.49 MB / 1.167 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.002062/4.946, allocations: 0.9723 MB / 2.595 GB, free: 17.59 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002795/4.949, allocations: 1.927 MB / 2.597 GB, free: 15.63 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/4.949, allocations: 0.75 kB / 2.597 GB, free: 15.63 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009647/4.95, allocations: 0.8213 MB / 2.598 GB, free: 14.79 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/4.952, allocations: 499.7 kB / 2.599 GB, free: 14.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/4.958, allocations: 2.489 MB / 2.601 GB, free: 11.76 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/4.959, allocations: 1.483 MB / 2.602 GB, free: 10.25 MB / 1.167 GB Notification: Performance of SimCode: time 1.072e-06/4.959, allocations: 3.938 kB / 2.602 GB, free: 10.24 MB / 1.167 GB Notification: Performance of Templates: time 0.06713/5.026, allocations: 36.82 MB / 2.638 GB, free: 5.871 MB / 1.198 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches