Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.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.Functions.TestCases.TestLogMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="A12|A3|A41|DTL|DTU|DT_mean1|DT_mean2|DT_mean3|DT_mean4|DT_mean5|DT_wi|DT_wo|T_in|T_out|T_w|Time|Time_bak|_derdummy|_dummy|ep|rampT_in.offset|rampT_in.shiftTime|rampT_in.startTime|rampT_in.table.1,1.|rampT_in.table.1,2.|rampT_in.table.2,1.|rampT_in.table.2,2.|rampT_in.table.3,1.|rampT_in.table.3,2.|rampT_in.table.4,1.|rampT_in.table.4,2.|rampT_in.table.5,1.|rampT_in.table.5,2.|rampT_in.table.6,1.|rampT_in.table.6,2.|rampT_in.timeScale|rampT_in.y|rampT_out.duration|rampT_out.height|rampT_out.offset|rampT_out.startTime|rampT_out.y|rampT_out2.offset|rampT_out2.shiftTime|rampT_out2.startTime|rampT_out2.table.1,1.|rampT_out2.table.1,2.|rampT_out2.table.2,1.|rampT_out2.table.2,2.|rampT_out2.table.3,1.|rampT_out2.table.3,2.|rampT_out2.table.4,1.|rampT_out2.table.4,2.|rampT_out2.table.5,1.|rampT_out2.table.5,2.|rampT_out2.table.6,1.|rampT_out2.table.6,2.|rampT_out2.timeScale|rampT_out2.y|rampT_w.duration|rampT_w.height|rampT_w.offset|rampT_w.startTime|rampT_w.y",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean") translateModel(ClaRa.Basics.Functions.TestCases.TestLogMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="A12|A3|A41|DTL|DTU|DT_mean1|DT_mean2|DT_mean3|DT_mean4|DT_mean5|DT_wi|DT_wo|T_in|T_out|T_w|Time|Time_bak|_derdummy|_dummy|ep|rampT_in.offset|rampT_in.shiftTime|rampT_in.startTime|rampT_in.table.1,1.|rampT_in.table.1,2.|rampT_in.table.2,1.|rampT_in.table.2,2.|rampT_in.table.3,1.|rampT_in.table.3,2.|rampT_in.table.4,1.|rampT_in.table.4,2.|rampT_in.table.5,1.|rampT_in.table.5,2.|rampT_in.table.6,1.|rampT_in.table.6,2.|rampT_in.timeScale|rampT_in.y|rampT_out.duration|rampT_out.height|rampT_out.offset|rampT_out.startTime|rampT_out.y|rampT_out2.offset|rampT_out2.shiftTime|rampT_out2.startTime|rampT_out2.table.1,1.|rampT_out2.table.1,2.|rampT_out2.table.2,1.|rampT_out2.table.2,2.|rampT_out2.table.3,1.|rampT_out2.table.3,2.|rampT_out2.table.4,1.|rampT_out2.table.4,2.|rampT_out2.table.5,1.|rampT_out2.table.5,2.|rampT_out2.table.6,1.|rampT_out2.table.6,2.|rampT_out2.timeScale|rampT_out2.y|rampT_w.duration|rampT_w.height|rampT_w.offset|rampT_w.startTime|rampT_w.y",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean") [: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.004541/0.004541, allocations: 179.8 kB / 7.464 MB, free: 2.484 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.452/1.452, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.001026/0.001026, allocations: 98.08 kB / 280.1 MB, free: 1.309 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08297/0.08297, allocations: 20.16 MB / 351.1 MB, free: 10.37 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.199/1.199, allocations: 127.6 MB / 0.5229 GB, free: 4.77 MB / 346.8 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.069e-05, allocations: 4 kB / 0.6104 GB, free: 10.95 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6641/0.6641, allocations: 82.82 MB / 0.6913 GB, free: 33.72 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.8646, allocations: 120.1 MB / 0.8086 GB, free: 5.598 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.8649, allocations: 73.36 kB / 0.8086 GB, free: 5.527 MB / 0.5418 GB Notification: Performance of FrontEnd: time 0.04716/0.9121, allocations: 14.34 MB / 0.8226 GB, free: 7.355 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.9122, allocations: 4 kB / 0.8226 GB, free: 7.352 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001667/0.9139, allocations: 0.6376 MB / 0.8233 GB, free: 6.656 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.914, allocations: 10.94 kB / 0.8233 GB, free: 6.648 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.9141, allocations: 23.72 kB / 0.8233 GB, free: 6.625 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006233/0.9148, allocations: 267 kB / 0.8235 GB, free: 6.32 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.9148, allocations: 4 kB / 0.8236 GB, free: 6.316 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.9149, allocations: 7.906 kB / 0.8236 GB, free: 6.309 MB / 0.5574 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005707/0.9155, allocations: 267.8 kB / 0.8238 GB, free: 6.047 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.9159, allocations: 259.5 kB / 0.8241 GB, free: 5.777 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.9159, allocations: 3.984 kB / 0.8241 GB, free: 5.773 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.916, allocations: 0 / 0.8241 GB, free: 5.773 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.916, allocations: 4 kB / 0.8241 GB, free: 5.77 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.9174, allocations: 0.6708 MB / 0.8247 GB, free: 5.059 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.918, allocations: 260.1 kB / 0.825 GB, free: 4.773 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.9183, allocations: 186.8 kB / 0.8252 GB, free: 4.582 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003734/0.9186, allocations: 109 kB / 0.8253 GB, free: 4.457 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004138/0.9191, allocations: 302.5 kB / 0.8255 GB, free: 4.129 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=32): time 3.617e-06/0.9191, allocations: 4 kB / 0.8255 GB, free: 4.125 MB / 0.5574 GB Notification: Performance of matching and sorting (n=32): time 0.001552/0.9206, allocations: 493.8 kB / 0.826 GB, free: 3.637 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/0.9208, allocations: 162.3 kB / 0.8262 GB, free: 3.441 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.921, allocations: 189.9 kB / 0.8264 GB, free: 3.246 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.9211, allocations: 29.7 kB / 0.8264 GB, free: 3.211 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.9211, allocations: 92.78 kB / 0.8265 GB, free: 3.117 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.9212, allocations: 90.66 kB / 0.8266 GB, free: 3.027 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.9213, allocations: 0 / 0.8266 GB, free: 3.027 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.9214, allocations: 338.8 kB / 0.8269 GB, free: 2.688 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.9217, allocations: 128 kB / 0.827 GB, free: 2.562 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.9219, allocations: 172 kB / 0.8272 GB, free: 2.383 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008472/0.9228, allocations: 259.7 kB / 0.8274 GB, free: 2.129 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9228, allocations: 4 kB / 0.8274 GB, free: 2.125 MB / 0.5574 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001225/0.924, allocations: 493.4 kB / 0.8279 GB, free: 1.637 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.924, allocations: 5.406 kB / 0.8279 GB, free: 1.633 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.9241, allocations: 7.125 kB / 0.8279 GB, free: 1.629 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.9241, allocations: 4 kB / 0.8279 GB, free: 1.625 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.9246, allocations: 87.86 kB / 0.828 GB, free: 1.539 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.9246, allocations: 0.625 kB / 0.828 GB, free: 1.539 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.925, allocations: 47.8 kB / 0.828 GB, free: 1.492 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.522e-05/0.9251, allocations: 23.98 kB / 0.8281 GB, free: 1.469 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,rampT_in.a,rampT_in.b,rampT_in.last,$PRE.rampT_in.nextEvent,rampT_in.nextEvent,rampT_in.nextEventScaled,rampT_out2.a,rampT_out2.b,rampT_out2.last,$PRE.rampT_out2.nextEvent,rampT_out2.nextEvent,rampT_out2.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0002088/0.9253, allocations: 176.3 kB / 0.8282 GB, free: 1.277 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.9254, allocations: 35.62 kB / 0.8283 GB, free: 1.242 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.9272, allocations: 0.6138 MB / 0.8289 GB, free: 0.6289 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.9273, allocations: 4 kB / 0.8289 GB, free: 0.625 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9273, allocations: 0 / 0.8289 GB, free: 0.625 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.9273, allocations: 4 kB / 0.8289 GB, free: 0.6211 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.9277, allocations: 297.5 kB / 0.8292 GB, free: 300 kB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.9277, allocations: 5.375 kB / 0.8292 GB, free: 296 kB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.9282, allocations: 91.84 kB / 0.8292 GB, free: 204 kB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.9282, allocations: 0 / 0.8292 GB, free: 204 kB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.9282, allocations: 15.97 kB / 0.8293 GB, free: 188 kB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.9283, allocations: 4 kB / 0.8293 GB, free: 184 kB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.9283, allocations: 0 / 0.8293 GB, free: 184 kB / 0.5574 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001614/0.9299, allocations: 0.6477 MB / 0.8299 GB, free: 15.49 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.9302, allocations: 161.4 kB / 0.83 GB, free: 15.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.87e-05/0.9303, allocations: 12 kB / 0.8301 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.9307, allocations: 37.34 kB / 0.8301 GB, free: 15.27 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.9308, allocations: 27.86 kB / 0.8301 GB, free: 15.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/0.9309, allocations: 35.91 kB / 0.8302 GB, free: 15.21 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.0001515/0.931, allocations: 148.6 kB / 0.8303 GB, free: 15.07 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005638/0.9316, allocations: 107.9 kB / 0.8304 GB, free: 14.96 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,rampT_in.a,rampT_in.b,rampT_in.last,rampT_in.nextEvent,rampT_in.nextEventScaled,rampT_out2.a,rampT_out2.b,rampT_out2.last,rampT_out2.nextEvent,rampT_out2.nextEventScaled) * Number of discrete states: 12 (rampT_out2.nextEvent,rampT_out2.last,rampT_out2.nextEventScaled,rampT_out2.b,rampT_out2.a,$whenCondition1,rampT_in.nextEvent,rampT_in.last,rampT_in.nextEventScaled,rampT_in.b,rampT_in.a,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.0005422/0.9321, allocations: 176.6 kB / 0.8306 GB, free: 14.78 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007252/0.9329, allocations: 383.9 kB / 0.8309 GB, free: 14.39 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.9329, allocations: 0 / 0.8309 GB, free: 14.39 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.9333, allocations: 299.5 kB / 0.8312 GB, free: 14.09 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.9336, allocations: 33.91 kB / 0.8313 GB, free: 14.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009611/0.9346, allocations: 377.8 kB / 0.8316 GB, free: 13.65 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005711/0.9351, allocations: 0.7989 MB / 0.8324 GB, free: 12.83 MB / 0.573 GB Notification: Performance of SimCode: time 1.021e-06/0.9352, allocations: 0 / 0.8324 GB, free: 12.83 MB / 0.573 GB Notification: Performance of Templates: time 0.0101/0.9453, allocations: 4.06 MB / 0.8364 GB, free: 8.848 MB / 0.573 GB make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.makefile (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestLogMean.mat","../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches