Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [: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.033/2.033, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001195/0.001195, allocations: 186.4 kB / 490.8 MB, free: 1.918 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.28/1.28, allocations: 221.4 MB / 0.7863 GB, free: 13.6 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.0009452/0.0009452, allocations: 103.6 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.831e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2422, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8603/1.103, allocations: 418.5 MB / 1.62 GB, free: 13.72 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/1.103, allocations: 65.34 kB / 1.62 GB, free: 13.69 MB / 1.042 GB Notification: Performance of FrontEnd: time 0.0402/1.143, allocations: 18.74 MB / 1.639 GB, free: 14.69 MB / 1.057 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.143, allocations: 0 / 1.639 GB, free: 14.69 MB / 1.057 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.0003326/1.143, allocations: 362 kB / 1.639 GB, free: 14.29 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/1.143, allocations: 8.031 kB / 1.639 GB, free: 14.29 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/1.143, allocations: 3.906 kB / 1.639 GB, free: 14.28 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/1.144, allocations: 167.1 kB / 1.639 GB, free: 14.08 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/1.144, allocations: 0 / 1.639 GB, free: 14.08 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/1.144, allocations: 4 kB / 1.639 GB, free: 14.07 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.961e-05/1.144, allocations: 19.45 kB / 1.639 GB, free: 14.06 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.583e-05/1.144, allocations: 49.05 kB / 1.639 GB, free: 14.01 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/1.144, allocations: 0 / 1.639 GB, free: 14.01 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/1.144, allocations: 0 / 1.639 GB, free: 14.01 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/1.144, allocations: 7.984 kB / 1.639 GB, free: 14 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/1.144, allocations: 133.9 kB / 1.639 GB, free: 13.84 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 6.339e-05/1.144, allocations: 51.7 kB / 1.639 GB, free: 13.79 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/1.144, allocations: 16.23 kB / 1.639 GB, free: 13.77 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/1.145, allocations: 0.6048 MB / 1.64 GB, free: 13.07 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/1.145, allocations: 34 kB / 1.64 GB, free: 13.03 MB / 1.057 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/1.145, allocations: 4 kB / 1.64 GB, free: 13.02 MB / 1.057 GB Notification: Performance of matching and sorting (n=7): time 0.0004942/1.145, allocations: 273.1 kB / 1.64 GB, free: 12.71 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/1.145, allocations: 51.41 kB / 1.64 GB, free: 12.65 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/1.145, allocations: 96.55 kB / 1.64 GB, free: 12.55 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/1.145, allocations: 25.7 kB / 1.64 GB, free: 12.52 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/1.146, allocations: 84.05 kB / 1.64 GB, free: 12.44 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/1.146, allocations: 30.8 kB / 1.641 GB, free: 12.41 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/1.146, allocations: 0 / 1.641 GB, free: 12.41 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/1.146, allocations: 322.5 kB / 1.641 GB, free: 12.09 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/1.146, allocations: 7.938 kB / 1.641 GB, free: 12.09 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.001e-05/1.146, allocations: 52.58 kB / 1.641 GB, free: 12.02 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.289e-05/1.146, allocations: 15.19 kB / 1.641 GB, free: 12.01 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/1.146, allocations: 4 kB / 1.641 GB, free: 12.01 MB / 1.057 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001244/1.146, allocations: 88.08 kB / 1.641 GB, free: 11.92 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/1.146, allocations: 4 kB / 1.641 GB, free: 11.92 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.146, allocations: 0 / 1.641 GB, free: 11.92 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/1.146, allocations: 4 kB / 1.641 GB, free: 11.91 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/1.146, allocations: 19.98 kB / 1.641 GB, free: 11.89 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/1.146, allocations: 0 / 1.641 GB, free: 11.89 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/1.146, allocations: 7.938 kB / 1.641 GB, free: 11.89 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/1.146, allocations: 8.125 kB / 1.641 GB, free: 11.88 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.599e-05/1.146, allocations: 104.9 kB / 1.641 GB, free: 11.77 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/1.146, allocations: 7.906 kB / 1.641 GB, free: 11.76 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/1.146, allocations: 7.5 kB / 1.641 GB, free: 11.76 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.146, allocations: 0 / 1.641 GB, free: 11.76 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.146, allocations: 256 / 1.641 GB, free: 11.76 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/1.146, allocations: 7.984 kB / 1.641 GB, free: 11.75 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/1.147, allocations: 150 kB / 1.641 GB, free: 11.57 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.147, allocations: 3.906 kB / 1.641 GB, free: 11.57 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.634e-05/1.147, allocations: 23.98 kB / 1.641 GB, free: 11.55 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.147, allocations: 0 / 1.641 GB, free: 11.55 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/1.147, allocations: 0 / 1.641 GB, free: 11.55 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/1.147, allocations: 0 / 1.641 GB, free: 11.55 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.147, allocations: 0 / 1.641 GB, free: 11.55 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001487/1.147, allocations: 170.3 kB / 1.641 GB, free: 11.38 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/1.147, allocations: 85.09 kB / 1.642 GB, free: 11.27 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/1.147, allocations: 4.281 kB / 1.642 GB, free: 11.27 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/1.147, allocations: 4 kB / 1.642 GB, free: 11.27 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/1.147, allocations: 7.984 kB / 1.642 GB, free: 11.26 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/1.147, allocations: 3.125 kB / 1.642 GB, free: 11.26 MB / 1.057 GB Notification: Performance of sort global known variables: time 3.195e-05/1.147, allocations: 83.27 kB / 1.642 GB, free: 11.18 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002516/1.147, allocations: 16 kB / 1.642 GB, free: 11.16 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001914/1.148, allocations: 148.2 kB / 1.642 GB, free: 11.01 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 9.328e-05/1.148, allocations: 39.83 kB / 1.642 GB, free: 10.98 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.148, allocations: 0 / 1.642 GB, free: 10.98 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/1.148, allocations: 19.92 kB / 1.642 GB, free: 10.96 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/1.148, allocations: 0 / 1.642 GB, free: 10.96 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/1.148, allocations: 265.5 kB / 1.642 GB, free: 10.68 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/1.149, allocations: 0.6997 MB / 1.643 GB, free: 9.957 MB / 1.057 GB Notification: Performance of SimCode: time 2.71e-07/1.149, allocations: 0 / 1.643 GB, free: 9.957 MB / 1.057 GB Notification: Performance of Templates: time 0.002855/1.152, allocations: 0.945 MB / 1.644 GB, free: 9.02 MB / 1.057 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches