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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.648/1.648, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.00114/0.001141, allocations: 87.81 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1045/0.1045, allocations: 20.18 MB / 351.4 MB, free: 11.02 MB / 250.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 0.8212/0.8212, allocations: 127.6 MB / 0.5233 GB, free: 1.031 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.901e-05/1.858e-05, allocations: 3.672 kB / 0.611 GB, free: 7.812 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6504/0.6505, allocations: 82.85 MB / 0.6919 GB, free: 3.16 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2072/0.8578, allocations: 120.8 MB / 0.8099 GB, free: 8.426 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/0.8582, allocations: 87.81 kB / 0.81 GB, free: 8.344 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.03243/0.8906, allocations: 7.943 MB / 0.8177 GB, free: 392 kB / 0.5418 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8907, allocations: 3.469 kB / 0.8177 GB, free: 392 kB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.8907, allocations: 4 kB / 0.8177 GB, free: 388 kB / 0.5418 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.001518/0.8922, allocations: 0.5443 MB / 0.8183 GB, free: 15.77 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.636e-05/0.8923, allocations: 8.031 kB / 0.8183 GB, free: 15.77 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.8925, allocations: 19.77 kB / 0.8183 GB, free: 15.75 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.893, allocations: 227.4 kB / 0.8185 GB, free: 15.48 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.893, allocations: 3.938 kB / 0.8185 GB, free: 15.48 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.8931, allocations: 8 kB / 0.8185 GB, free: 15.47 MB / 0.5574 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002914/0.8934, allocations: 112 kB / 0.8186 GB, free: 15.36 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.8937, allocations: 138.5 kB / 0.8188 GB, free: 15.22 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.8937, allocations: 3.984 kB / 0.8188 GB, free: 15.21 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.8937, allocations: 4 kB / 0.8188 GB, free: 15.21 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.8937, allocations: 0 / 0.8188 GB, free: 15.21 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009787/0.8947, allocations: 401.7 kB / 0.8192 GB, free: 14.78 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.895, allocations: 126.5 kB / 0.8193 GB, free: 14.64 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.8952, allocations: 88.83 kB / 0.8194 GB, free: 14.55 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.8952, allocations: 4 kB / 0.8194 GB, free: 14.55 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003398/0.8956, allocations: 181 kB / 0.8195 GB, free: 14.36 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=18): time 3.136e-06/0.8956, allocations: 4 kB / 0.8195 GB, free: 14.35 MB / 0.5574 GB Notification: Performance of matching and sorting (n=18): time 0.001362/0.897, allocations: 363.5 kB / 0.8199 GB, free: 13.99 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.8971, allocations: 85.11 kB / 0.82 GB, free: 13.89 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.8973, allocations: 154.5 kB / 0.8201 GB, free: 13.73 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.8974, allocations: 29.7 kB / 0.8202 GB, free: 13.7 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.8975, allocations: 112.4 kB / 0.8203 GB, free: 13.58 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.8976, allocations: 51.39 kB / 0.8203 GB, free: 13.53 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/0.8976, allocations: 0 / 0.8203 GB, free: 13.53 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0002211/0.8978, allocations: 326.8 kB / 0.8206 GB, free: 13.2 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.898, allocations: 76.16 kB / 0.8207 GB, free: 13.12 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.8981, allocations: 95 kB / 0.8208 GB, free: 13.02 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007135/0.8989, allocations: 176.1 kB / 0.821 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8989, allocations: 0 / 0.821 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001144/0.9, allocations: 371.6 kB / 0.8213 GB, free: 12.49 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.9001, allocations: 67.39 kB / 0.8214 GB, free: 12.41 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.9002, allocations: 0 / 0.8214 GB, free: 12.41 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/0.9002, allocations: 7.953 kB / 0.8214 GB, free: 12.4 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.9005, allocations: 47.94 kB / 0.8214 GB, free: 12.36 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.9006, allocations: 0 / 0.8214 GB, free: 12.36 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.9009, allocations: 43.59 kB / 0.8215 GB, free: 12.32 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.901, allocations: 19.98 kB / 0.8215 GB, free: 12.3 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.0001533/0.9011, allocations: 146.4 kB / 0.8216 GB, free: 12.14 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.9012, allocations: 15.81 kB / 0.8216 GB, free: 12.12 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.9024, allocations: 448.3 kB / 0.8221 GB, free: 11.68 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.9025, allocations: 3.953 kB / 0.8221 GB, free: 11.68 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.9025, allocations: 0 / 0.8221 GB, free: 11.68 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.9025, allocations: 7.984 kB / 0.8221 GB, free: 11.67 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.9028, allocations: 234 kB / 0.8223 GB, free: 11.41 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.9028, allocations: 0 / 0.8223 GB, free: 11.41 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.9031, allocations: 59.88 kB / 0.8224 GB, free: 11.35 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.9032, allocations: 0 / 0.8224 GB, free: 11.35 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.9032, allocations: 7.984 kB / 0.8224 GB, free: 11.34 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.9032, allocations: 4 kB / 0.8224 GB, free: 11.34 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.9032, allocations: 3.938 kB / 0.8224 GB, free: 11.33 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.9044, allocations: 456.1 kB / 0.8228 GB, free: 10.87 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 7.79e-05/0.9045, allocations: 92.92 kB / 0.8229 GB, free: 10.76 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.9046, allocations: 7.984 kB / 0.8229 GB, free: 10.75 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.9048, allocations: 31.97 kB / 0.8229 GB, free: 10.72 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.905, allocations: 31.91 kB / 0.823 GB, free: 10.69 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.905, allocations: 8 kB / 0.823 GB, free: 10.68 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001301/0.9051, allocations: 132.9 kB / 0.8231 GB, free: 10.55 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9052, allocations: 0 / 0.8231 GB, free: 10.55 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0004351/0.9056, allocations: 79.86 kB / 0.8232 GB, free: 10.48 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.0003936/0.906, allocations: 155.1 kB / 0.8233 GB, free: 10.32 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0005298/0.9065, allocations: 322.7 kB / 0.8236 GB, free: 9.977 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9066, allocations: 0 / 0.8236 GB, free: 9.977 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.9068, allocations: 188.7 kB / 0.8238 GB, free: 9.781 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.9071, allocations: 15.98 kB / 0.8238 GB, free: 9.766 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007265/0.9079, allocations: 229.2 kB / 0.824 GB, free: 9.523 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.9084, allocations: 0.7282 MB / 0.8248 GB, free: 8.77 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.9086, allocations: 24.75 kB / 0.8248 GB, free: 8.746 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.761e-05/0.9087, allocations: 27.17 kB / 0.8248 GB, free: 8.723 MB / 0.5574 GB Notification: Performance of SimCode: time 8.32e-07/0.9087, allocations: 0 / 0.8248 GB, free: 8.723 MB / 0.5574 GB Notification: Performance of Templates: time 0.007808/0.9165, allocations: 2.51 MB / 0.8273 GB, free: 6.262 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