Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo) 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) Running command: translateModel(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="DTL|DTU|DT_mean_smooth|DT_mean_unsmooth|DT_wi|DT_wo|T_i.offset|T_i.shiftTime|T_i.startTime|T_i.table.1,1.|T_i.table.1,2.|T_i.table.2,1.|T_i.table.2,2.|T_i.table.3,1.|T_i.table.3,2.|T_i.table.4,1.|T_i.table.4,2.|T_i.table.5,1.|T_i.table.5,2.|T_i.table.6,1.|T_i.table.6,2.|T_i.timeScale|T_i.y|T_i1|T_o.amplitude|T_o.falling|T_o.nperiod|T_o.offset|T_o.period|T_o.rising|T_o.startTime|T_o.width|T_o.y|T_w|Time|Time_bak|_derdummy|_dummy",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log") translateModel(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="DTL|DTU|DT_mean_smooth|DT_mean_unsmooth|DT_wi|DT_wo|T_i.offset|T_i.shiftTime|T_i.startTime|T_i.table.1,1.|T_i.table.1,2.|T_i.table.2,1.|T_i.table.2,2.|T_i.table.3,1.|T_i.table.3,2.|T_i.table.4,1.|T_i.table.4,2.|T_i.table.5,1.|T_i.table.5,2.|T_i.table.6,1.|T_i.table.6,2.|T_i.timeScale|T_i.y|T_i1|T_o.amplitude|T_o.falling|T_o.nperiod|T_o.offset|T_o.period|T_o.rising|T_o.startTime|T_o.width|T_o.y|T_w|Time|Time_bak|_derdummy|_dummy",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log") [: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/Complex 4.0.0+maint.om/package.mo): time 0.005585/0.005584, allocations: 173.1 kB / 7.457 MB, free: 2.176 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.79/1.79, allocations: 221.4 MB / 229.3 MB, free: 3.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001024, allocations: 88.06 kB / 280.1 MB, free: 1.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.127/0.127, allocations: 20.18 MB / 351.1 MB, free: 10.32 MB / 298.7 MB [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ShellType_L3 TubeType_L2 TubeType_L3 ShellType_L2 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ShellType_L3 TubeType_L2 TubeType_L3 ShellType_L2 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 1.179/1.179, allocations: 127.6 MB / 0.5229 GB, free: 4.723 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 9.408e-06/9.508e-06, allocations: 0 / 0.6104 GB, free: 10.91 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.5348, allocations: 82.83 MB / 0.6913 GB, free: 33.79 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1765/0.7114, allocations: 120.7 MB / 0.8092 GB, free: 4.949 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.7118, allocations: 81.06 kB / 0.8093 GB, free: 4.871 MB / 0.5418 GB Notification: Performance of FrontEnd: time 0.02692/0.7387, allocations: 7.725 MB / 0.8168 GB, free: 13.3 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.7388, allocations: 0 / 0.8168 GB, free: 13.3 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001321/0.7401, allocations: 0.5559 MB / 0.8174 GB, free: 12.69 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.7402, allocations: 8.031 kB / 0.8174 GB, free: 12.68 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.7403, allocations: 15.81 kB / 0.8174 GB, free: 12.67 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.7407, allocations: 223.9 kB / 0.8176 GB, free: 12.41 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.7408, allocations: 7.906 kB / 0.8176 GB, free: 12.4 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.7408, allocations: 9.812 kB / 0.8176 GB, free: 12.39 MB / 0.5574 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003108/0.7411, allocations: 119.9 kB / 0.8177 GB, free: 12.27 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.7414, allocations: 138.8 kB / 0.8179 GB, free: 12.13 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.7414, allocations: 3.938 kB / 0.8179 GB, free: 12.13 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.7415, allocations: 0 / 0.8179 GB, free: 12.13 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.7415, allocations: 4 kB / 0.8179 GB, free: 12.12 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.7425, allocations: 408.3 kB / 0.8183 GB, free: 11.69 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.7428, allocations: 122.5 kB / 0.8184 GB, free: 11.56 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.743, allocations: 88.83 kB / 0.8185 GB, free: 11.47 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 5.028e-05/0.743, allocations: 7.984 kB / 0.8185 GB, free: 11.46 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.7433, allocations: 173 kB / 0.8186 GB, free: 11.27 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=18): time 2.314e-06/0.7433, allocations: 0 / 0.8186 GB, free: 11.27 MB / 0.5574 GB Notification: Performance of matching and sorting (n=18): time 0.001217/0.7445, allocations: 338.5 kB / 0.8189 GB, free: 10.94 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.7446, allocations: 85.09 kB / 0.819 GB, free: 10.84 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.7448, allocations: 156.1 kB / 0.8192 GB, free: 10.67 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.7448, allocations: 25.7 kB / 0.8192 GB, free: 10.64 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.7449, allocations: 96.45 kB / 0.8193 GB, free: 10.54 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.745, allocations: 43.36 kB / 0.8193 GB, free: 10.5 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.745, allocations: 0 / 0.8193 GB, free: 10.5 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.7452, allocations: 334.8 kB / 0.8197 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.7453, allocations: 72.17 kB / 0.8197 GB, free: 10.09 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.7455, allocations: 105.2 kB / 0.8198 GB, free: 9.98 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007186/0.7462, allocations: 188.6 kB / 0.82 GB, free: 9.797 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.7462, allocations: 11.5 kB / 0.82 GB, free: 9.789 MB / 0.5574 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001018/0.7472, allocations: 356.2 kB / 0.8204 GB, free: 9.438 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.7472, allocations: 4 kB / 0.8204 GB, free: 9.434 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.7473, allocations: 0 / 0.8204 GB, free: 9.434 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.7473, allocations: 4 kB / 0.8204 GB, free: 9.43 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.7477, allocations: 51.92 kB / 0.8204 GB, free: 9.379 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.7477, allocations: 7.984 kB / 0.8204 GB, free: 9.371 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.748, allocations: 41.69 kB / 0.8205 GB, free: 9.332 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/0.7481, allocations: 15.98 kB / 0.8205 GB, free: 9.316 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,$PRE.T_o.T_start,T_o.T_start,$PRE.T_o.count,T_o.count,T_i.a,T_i.b,T_i.last,$PRE.T_i.nextEvent,T_i.nextEvent,T_i.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001884/0.7483, allocations: 140.4 kB / 0.8206 GB, free: 9.168 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.7483, allocations: 19.81 kB / 0.8206 GB, free: 9.148 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.7496, allocations: 456.3 kB / 0.8211 GB, free: 8.703 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.7496, allocations: 0 / 0.8211 GB, free: 8.703 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7496, allocations: 0 / 0.8211 GB, free: 8.703 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.7496, allocations: 4 kB / 0.8211 GB, free: 8.699 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.7499, allocations: 222 kB / 0.8213 GB, free: 8.445 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7499, allocations: 0 / 0.8213 GB, free: 8.445 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.7503, allocations: 59.94 kB / 0.8213 GB, free: 8.387 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.7503, allocations: 4 kB / 0.8213 GB, free: 8.383 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.7503, allocations: 4 kB / 0.8213 GB, free: 8.379 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7503, allocations: 0 / 0.8213 GB, free: 8.379 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.7503, allocations: 3.984 kB / 0.8213 GB, free: 8.375 MB / 0.5574 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001124/0.7515, allocations: 436.3 kB / 0.8218 GB, free: 7.93 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.7516, allocations: 92.86 kB / 0.8219 GB, free: 7.82 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.7516, allocations: 4 kB / 0.8219 GB, free: 7.816 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.7519, allocations: 39.95 kB / 0.8219 GB, free: 7.777 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.7521, allocations: 23.88 kB / 0.8219 GB, free: 7.754 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.7521, allocations: 19.92 kB / 0.8219 GB, free: 7.734 MB / 0.5574 GB Notification: Performance of sort global known variables: time 0.0001186/0.7522, allocations: 128.9 kB / 0.8221 GB, free: 7.609 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0004012/0.7526, allocations: 75.94 kB / 0.8221 GB, free: 7.535 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,T_o.T_start,T_o.count,T_i.a,T_i.b,T_i.last,T_i.nextEvent,T_i.nextEventScaled) * Number of discrete states: 7 (T_o.count,T_i.nextEvent,T_i.last,T_i.nextEventScaled,T_i.b,T_i.a,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0004087/0.7531, allocations: 162.5 kB / 0.8223 GB, free: 7.367 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0004145/0.7535, allocations: 239.4 kB / 0.8225 GB, free: 7.121 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7535, allocations: 0 / 0.8225 GB, free: 7.121 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.7537, allocations: 161.6 kB / 0.8227 GB, free: 6.957 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.754, allocations: 11.56 kB / 0.8227 GB, free: 6.949 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.7547, allocations: 240.2 kB / 0.8229 GB, free: 6.695 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004632/0.7552, allocations: 0.7582 MB / 0.8236 GB, free: 5.91 MB / 0.5574 GB Notification: Performance of SimCode: time 2.4e-07/0.7552, allocations: 0 / 0.8236 GB, free: 5.91 MB / 0.5574 GB Notification: Performance of Templates: time 0.007415/0.7626, allocations: 2.964 MB / 0.8265 GB, free: 3.016 MB / 0.5574 GB make -j1 -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.makefile (rm -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe >> ../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.sim & ./ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.mat","../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches