Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [: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 2.024/2.024, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.001172/0.001172, allocations: 189.8 kB / 490.8 MB, free: 1.953 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.364/1.364, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.0009844/0.0009843, allocations: 84.67 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.141e-05/1.143e-05, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2881, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9929/1.281, allocations: 373.4 MB / 1.576 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/1.281, allocations: 87.56 kB / 1.576 GB, free: 9.348 MB / 0.9948 GB Notification: Performance of FrontEnd: time 0.02963/1.311, allocations: 13.91 MB / 1.59 GB, free: 14.34 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.767e-06/1.311, allocations: 0 / 1.59 GB, free: 14.34 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007251/1.312, allocations: 463.9 kB / 1.59 GB, free: 13.86 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.312, allocations: 8.031 kB / 1.59 GB, free: 13.85 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/1.312, allocations: 15.81 kB / 1.59 GB, free: 13.83 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.312, allocations: 178.9 kB / 1.59 GB, free: 13.62 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/1.312, allocations: 0 / 1.59 GB, free: 13.62 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/1.312, allocations: 8 kB / 1.591 GB, free: 13.61 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002055/1.312, allocations: 92.59 kB / 1.591 GB, free: 13.55 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/1.312, allocations: 84.02 kB / 1.591 GB, free: 13.48 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/1.312, allocations: 0 / 1.591 GB, free: 13.48 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/1.312, allocations: 4 kB / 1.591 GB, free: 13.47 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/1.312, allocations: 0 / 1.591 GB, free: 13.47 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/1.313, allocations: 390.4 kB / 1.591 GB, free: 13.11 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/1.313, allocations: 101.7 kB / 1.591 GB, free: 13.03 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.966e-05/1.313, allocations: 45.36 kB / 1.591 GB, free: 13 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/1.314, allocations: 0.9313 MB / 1.592 GB, free: 11.98 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/1.314, allocations: 30.56 kB / 1.592 GB, free: 11.94 MB / 1.01 GB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/1.314, allocations: 0 / 1.592 GB, free: 11.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=12): time 0.0004447/1.315, allocations: 133.3 kB / 1.592 GB, free: 11.83 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/1.315, allocations: 55.41 kB / 1.592 GB, free: 11.76 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/1.315, allocations: 143.8 kB / 1.592 GB, free: 11.63 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/1.315, allocations: 25.7 kB / 1.592 GB, free: 11.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/1.315, allocations: 103.8 kB / 1.593 GB, free: 11.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/1.315, allocations: 42.22 kB / 1.593 GB, free: 11.46 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/1.315, allocations: 0 / 1.593 GB, free: 11.46 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001077/1.315, allocations: 321.8 kB / 1.593 GB, free: 11.14 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/1.315, allocations: 53.3 kB / 1.593 GB, free: 11.11 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/1.315, allocations: 84.92 kB / 1.593 GB, free: 11.04 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/1.316, allocations: 140.3 kB / 1.593 GB, free: 10.93 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.316, allocations: 4 kB / 1.593 GB, free: 10.92 MB / 1.01 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006863/1.317, allocations: 264.5 kB / 1.593 GB, free: 10.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/1.317, allocations: 4 kB / 1.593 GB, free: 10.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.317, allocations: 0 / 1.593 GB, free: 10.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/1.317, allocations: 4 kB / 1.593 GB, free: 10.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/1.317, allocations: 67.91 kB / 1.594 GB, free: 10.63 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.317, allocations: 3.984 kB / 1.594 GB, free: 10.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/1.317, allocations: 35.81 kB / 1.594 GB, free: 10.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/1.317, allocations: 15.12 kB / 1.594 GB, free: 10.58 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 7.493e-05/1.317, allocations: 108.8 kB / 1.594 GB, free: 10.46 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/1.317, allocations: 11.91 kB / 1.594 GB, free: 10.45 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004001/1.318, allocations: 156.8 kB / 1.594 GB, free: 10.32 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/1.318, allocations: 0 / 1.594 GB, free: 10.32 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.318, allocations: 0 / 1.594 GB, free: 10.32 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.318, allocations: 0 / 1.594 GB, free: 10.32 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/1.318, allocations: 199.8 kB / 1.594 GB, free: 10.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.318, allocations: 3.938 kB / 1.594 GB, free: 10.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/1.318, allocations: 39.55 kB / 1.594 GB, free: 10.07 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/1.318, allocations: 3.984 kB / 1.594 GB, free: 10.07 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/1.318, allocations: 0 / 1.594 GB, free: 10.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.318, allocations: 4 kB / 1.594 GB, free: 10.06 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.318, allocations: 0 / 1.594 GB, free: 10.06 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003541/1.319, allocations: 234.2 kB / 1.594 GB, free: 9.844 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/1.319, allocations: 88.92 kB / 1.594 GB, free: 9.738 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/1.319, allocations: 0 / 1.594 GB, free: 9.738 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/1.319, allocations: 19.98 kB / 1.594 GB, free: 9.719 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/1.319, allocations: 7.984 kB / 1.594 GB, free: 9.711 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/1.319, allocations: 4 kB / 1.594 GB, free: 9.707 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.467e-05/1.319, allocations: 115.3 kB / 1.595 GB, free: 9.605 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003048/1.319, allocations: 63.67 kB / 1.595 GB, free: 9.547 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003187/1.32, allocations: 183.3 kB / 1.595 GB, free: 9.355 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002226/1.32, allocations: 120.6 kB / 1.595 GB, free: 9.273 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.32, allocations: 0 / 1.595 GB, free: 9.273 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.587e-05/1.32, allocations: 41.25 kB / 1.595 GB, free: 9.246 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/1.32, allocations: 21.83 kB / 1.595 GB, free: 9.23 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/1.321, allocations: 161.5 kB / 1.595 GB, free: 9.059 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/1.321, allocations: 0.7276 MB / 1.596 GB, free: 8.309 MB / 1.01 GB Notification: Performance of SimCode: time 2.6e-07/1.321, allocations: 0 / 1.596 GB, free: 8.309 MB / 1.01 GB Notification: Performance of Templates: time 0.005634/1.327, allocations: 2.736 MB / 1.598 GB, free: 5.605 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches