Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [: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 7.0.3-maint.7.0.x/package.mo): time 1.201/1.201, allocations: 249.4 MB / 256.7 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 192.4 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.052/1.052, allocations: 205.2 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008491/0.0008491, allocations: 92.66 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.2e-06/5.22e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1467, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.809/6.956, allocations: 4.605 GB / 5.49 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/6.956, allocations: 85.22 kB / 5.49 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.05937/7.015, allocations: 35.86 MB / 5.525 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.769e-06/7.015, allocations: 0 / 5.525 GB, free: 166.8 MB / 0.8698 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.0002007/7.016, allocations: 346.3 kB / 5.525 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/7.016, allocations: 8.031 kB / 5.525 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/7.016, allocations: 11.98 kB / 5.525 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.102e-05/7.016, allocations: 171 kB / 5.526 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/7.016, allocations: 0 / 5.526 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/7.016, allocations: 8 kB / 5.526 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.819e-05/7.016, allocations: 8 kB / 5.526 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.325e-05/7.016, allocations: 49.62 kB / 5.526 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/7.016, allocations: 0 / 5.526 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/7.016, allocations: 0 / 5.526 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/7.016, allocations: 0 / 5.526 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.954e-05/7.016, allocations: 150.1 kB / 5.526 GB, free: 166 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.373e-05/7.016, allocations: 41.7 kB / 5.526 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/7.016, allocations: 12.86 kB / 5.526 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/7.016, allocations: 0 / 5.526 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/7.016, allocations: 30.56 kB / 5.526 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 7.52e-07/7.016, allocations: 0 / 5.526 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0004994/7.017, allocations: 338.3 kB / 5.526 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.621e-05/7.017, allocations: 59.41 kB / 5.526 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.656e-05/7.017, allocations: 85 kB / 5.526 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/7.017, allocations: 25.7 kB / 5.526 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 1.043e-05/7.017, allocations: 80.14 kB / 5.526 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/7.017, allocations: 43.39 kB / 5.527 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/7.017, allocations: 0 / 5.527 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 3.451e-05/7.017, allocations: 322.7 kB / 5.527 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/7.017, allocations: 16.12 kB / 5.527 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.07e-05/7.017, allocations: 29.78 kB / 5.527 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.236e-05/7.017, allocations: 27.92 kB / 5.527 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/7.017, allocations: 0 / 5.527 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.06e-05/7.017, allocations: 85.95 kB / 5.527 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.106e-06/7.017, allocations: 4 kB / 5.527 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/7.017, allocations: 0 / 5.527 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/7.017, allocations: 8 kB / 5.527 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/7.017, allocations: 23.92 kB / 5.527 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/7.017, allocations: 8 kB / 5.527 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/7.017, allocations: 0 / 5.527 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/7.017, allocations: 0 / 5.527 GB, free: 164.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 3.892e-05/7.017, allocations: 113 kB / 5.527 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/7.017, allocations: 7.906 kB / 5.527 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/7.017, allocations: 11.84 kB / 5.527 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/7.017, allocations: 0 / 5.527 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/7.017, allocations: 3.984 kB / 5.527 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/7.017, allocations: 3.938 kB / 5.527 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.972e-05/7.018, allocations: 142.2 kB / 5.527 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/7.018, allocations: 3.906 kB / 5.527 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/7.018, allocations: 27.92 kB / 5.527 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/7.018, allocations: 0 / 5.527 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/7.018, allocations: 0 / 5.527 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/7.018, allocations: 0 / 5.527 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/7.018, allocations: 4 kB / 5.527 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001223/7.018, allocations: 127.1 kB / 5.527 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/7.018, allocations: 85 kB / 5.528 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/7.018, allocations: 8 kB / 5.528 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/7.018, allocations: 0 / 5.528 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/7.018, allocations: 4.109 kB / 5.528 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/7.018, allocations: 11.92 kB / 5.528 GB, free: 164 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.11e-05/7.018, allocations: 79.28 kB / 5.528 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002197/7.018, allocations: 39.98 kB / 5.528 GB, free: 163.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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.00049/7.019, allocations: 0.6754 MB / 5.528 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.417e-05/7.019, allocations: 44 kB / 5.528 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/7.019, allocations: 0 / 5.528 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/7.019, allocations: 27.94 kB / 5.528 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/7.019, allocations: 0.75 kB / 5.528 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/7.019, allocations: 281.9 kB / 5.529 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.878e-05/7.019, allocations: 0.6958 MB / 5.529 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/7.019, allocations: 0 / 5.529 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.005585/7.025, allocations: 4.019 MB / 5.533 GB, free: 158.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches