Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.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.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck") [: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.046/2.046, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.00108/0.00108, allocations: 199.7 kB / 490.8 MB, free: 1.883 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.335/1.335, allocations: 221.3 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.0009129/0.0009126, allocations: 85.58 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.344e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2424, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9429/1.185, allocations: 457.1 MB / 1.658 GB, free: 7.664 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/1.186, allocations: 72.77 kB / 1.658 GB, free: 7.625 MB / 1.073 GB Notification: Performance of FrontEnd: time 0.08903/1.275, allocations: 35.92 MB / 1.693 GB, free: 8.898 MB / 1.104 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.275, allocations: 3.188 kB / 1.693 GB, free: 8.898 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006178/1.275, allocations: 376.4 kB / 1.693 GB, free: 8.492 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/1.275, allocations: 8.031 kB / 1.693 GB, free: 8.484 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/1.276, allocations: 15.89 kB / 1.693 GB, free: 8.469 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.866e-05/1.276, allocations: 159.1 kB / 1.694 GB, free: 8.273 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/1.276, allocations: 4 kB / 1.694 GB, free: 8.27 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/1.276, allocations: 7.188 kB / 1.694 GB, free: 8.266 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.356e-05/1.276, allocations: 11.98 kB / 1.694 GB, free: 8.254 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.37e-05/1.276, allocations: 53.17 kB / 1.694 GB, free: 8.199 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/1.276, allocations: 3.906 kB / 1.694 GB, free: 8.195 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/1.276, allocations: 4 kB / 1.694 GB, free: 8.191 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.276, allocations: 3.984 kB / 1.694 GB, free: 8.188 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/1.276, allocations: 139.9 kB / 1.694 GB, free: 8.02 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 6.314e-05/1.276, allocations: 44.83 kB / 1.694 GB, free: 7.977 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/1.276, allocations: 8.859 kB / 1.694 GB, free: 7.965 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/1.287, allocations: 3.099 MB / 1.697 GB, free: 4.816 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/1.287, allocations: 37.3 kB / 1.697 GB, free: 4.773 MB / 1.104 GB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/1.287, allocations: 0 / 1.697 GB, free: 4.773 MB / 1.104 GB Notification: Performance of matching and sorting (n=11): time 0.02645/1.313, allocations: 6.481 MB / 1.703 GB, free: 14.22 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/1.313, allocations: 55.41 kB / 1.703 GB, free: 14.15 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/1.313, allocations: 92.89 kB / 1.703 GB, free: 14.05 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/1.313, allocations: 25.7 kB / 1.703 GB, free: 14.02 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/1.313, allocations: 84.27 kB / 1.704 GB, free: 13.94 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/1.313, allocations: 38.14 kB / 1.704 GB, free: 13.91 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/1.313, allocations: 3.938 kB / 1.704 GB, free: 13.9 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.314, allocations: 318.3 kB / 1.704 GB, free: 13.59 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-05/1.314, allocations: 15.5 kB / 1.704 GB, free: 13.57 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/1.314, allocations: 20.25 kB / 1.704 GB, free: 13.56 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.971e-05/1.314, allocations: 22.86 kB / 1.704 GB, free: 13.55 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.314, allocations: 0 / 1.704 GB, free: 13.55 MB / 1.12 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002194/1.314, allocations: 91.08 kB / 1.704 GB, free: 13.46 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.314, allocations: 14.97 kB / 1.704 GB, free: 13.45 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.314, allocations: 0 / 1.704 GB, free: 13.45 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.314, allocations: 3.984 kB / 1.704 GB, free: 13.45 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/1.314, allocations: 31.05 kB / 1.704 GB, free: 13.42 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/1.314, allocations: 0 / 1.704 GB, free: 13.42 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/1.314, allocations: 0 / 1.704 GB, free: 13.42 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/1.314, allocations: 4 kB / 1.704 GB, free: 13.41 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 9.654e-05/1.314, allocations: 104.9 kB / 1.704 GB, free: 13.3 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/1.314, allocations: 4 kB / 1.704 GB, free: 13.3 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/1.315, allocations: 143.9 kB / 1.704 GB, free: 13.16 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/1.315, allocations: 0 / 1.704 GB, free: 13.16 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.315, allocations: 0 / 1.704 GB, free: 13.16 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/1.315, allocations: 0 / 1.704 GB, free: 13.16 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/1.315, allocations: 150 kB / 1.704 GB, free: 12.98 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.315, allocations: 0 / 1.704 GB, free: 12.98 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/1.315, allocations: 27.61 kB / 1.704 GB, free: 12.96 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/1.315, allocations: 0 / 1.704 GB, free: 12.96 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/1.315, allocations: 0 / 1.704 GB, free: 12.96 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.315, allocations: 4 kB / 1.704 GB, free: 12.96 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.315, allocations: 7.906 kB / 1.704 GB, free: 12.95 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002877/1.315, allocations: 138.1 kB / 1.705 GB, free: 12.82 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 9.693e-05/1.316, allocations: 95.77 kB / 1.705 GB, free: 12.71 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/1.316, allocations: 4 kB / 1.705 GB, free: 12.71 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/1.316, allocations: 23.89 kB / 1.705 GB, free: 12.68 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/1.316, allocations: 7.984 kB / 1.705 GB, free: 12.68 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/1.316, allocations: 11.88 kB / 1.705 GB, free: 12.66 MB / 1.12 GB Notification: Performance of sort global known variables: time 3.37e-05/1.316, allocations: 75.28 kB / 1.705 GB, free: 12.59 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.002494/1.318, allocations: 0.5938 MB / 1.705 GB, free: 12.02 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.004761/1.323, allocations: 0.8296 MB / 1.706 GB, free: 11.21 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0001886/1.323, allocations: 54.3 kB / 1.706 GB, free: 11.16 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.323, allocations: 0 / 1.706 GB, free: 11.16 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 5.097e-05/1.323, allocations: 34.73 kB / 1.706 GB, free: 11.14 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/1.324, allocations: 0 / 1.706 GB, free: 11.14 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/1.324, allocations: 273.8 kB / 1.707 GB, free: 10.85 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/1.324, allocations: 0.7114 MB / 1.707 GB, free: 10.11 MB / 1.12 GB Notification: Performance of SimCode: time 2.1e-07/1.325, allocations: 0 / 1.707 GB, free: 10.11 MB / 1.12 GB Notification: Performance of Templates: time 0.04485/1.369, allocations: 28.24 MB / 1.735 GB, free: 13.84 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamDerivativeCheck.csv","../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches