Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.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.Visualisation.Check.TestDynamicBar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|dynamicBar.decimalSpaces|dynamicBar.provideInputConnectors|dynamicBar.provideLimitsConnectors|dynamicBar.provideOutputConnector|dynamicBar.u|dynamicBar.u_high|dynamicBar.u_high_int|dynamicBar.u_in|dynamicBar.u_int|dynamicBar.u_low|dynamicBar.u_low_int|dynamicBar.u_max|dynamicBar.u_min|dynamicBar.u_set|dynamicBar.u_set_int|dynamicBar.y|gain.k|gain.u|gain.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|sine1.amplitude|sine1.f|sine1.offset|sine1.phase|sine1.startTime|sine1.y|sine2.amplitude|sine2.f|sine2.offset|sine2.phase|sine2.startTime|sine2.y",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar") translateModel(ClaRa.Visualisation.Check.TestDynamicBar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|dynamicBar.decimalSpaces|dynamicBar.provideInputConnectors|dynamicBar.provideLimitsConnectors|dynamicBar.provideOutputConnector|dynamicBar.u|dynamicBar.u_high|dynamicBar.u_high_int|dynamicBar.u_in|dynamicBar.u_int|dynamicBar.u_low|dynamicBar.u_low_int|dynamicBar.u_max|dynamicBar.u_min|dynamicBar.u_set|dynamicBar.u_set_int|dynamicBar.y|gain.k|gain.u|gain.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|sine1.amplitude|sine1.f|sine1.offset|sine1.phase|sine1.startTime|sine1.y|sine2.amplitude|sine2.f|sine2.offset|sine2.phase|sine2.startTime|sine2.y",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 96.47 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08745/0.08745, allocations: 20.17 MB / 356.7 MB, free: 5.91 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.192/1.192, allocations: 127.5 MB / 0.5284 GB, free: 15.96 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 3.986e-05/4.016e-05, allocations: 4.219 kB / 0.618 GB, free: 4.09 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5683/0.5684, allocations: 82.84 MB / 0.6989 GB, free: 32.07 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.7693, allocations: 118.8 MB / 0.8149 GB, free: 2.41 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.7697, allocations: 75.89 kB / 0.8149 GB, free: 2.34 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.005224/0.7749, allocations: 1.793 MB / 0.8167 GB, free: 0.5664 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.415e-06/0.775, allocations: 0 / 0.8167 GB, free: 0.5664 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.775, allocations: 4 kB / 0.8167 GB, free: 0.5625 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004694/0.7755, allocations: 387.3 kB / 0.8171 GB, free: 144 kB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.7755, allocations: 12.75 kB / 0.8171 GB, free: 132 kB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.7756, allocations: 12.83 kB / 0.8171 GB, free: 120 kB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.7758, allocations: 195.5 kB / 0.8173 GB, free: 15.89 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.7758, allocations: 8.594 kB / 0.8173 GB, free: 15.88 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.7759, allocations: 8 kB / 0.8173 GB, free: 15.87 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.7761, allocations: 103.5 kB / 0.8174 GB, free: 15.75 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.7761, allocations: 0 / 0.8174 GB, free: 15.75 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.7761, allocations: 8.625 kB / 0.8174 GB, free: 15.75 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.7762, allocations: 4 kB / 0.8174 GB, free: 15.75 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.47e-05/0.7763, allocations: 39.88 kB / 0.8174 GB, free: 15.71 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007631/0.777, allocations: 0.5918 MB / 0.818 GB, free: 15.06 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.7771, allocations: 77.75 kB / 0.8181 GB, free: 14.96 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.7772, allocations: 27.58 kB / 0.8181 GB, free: 14.92 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.7772, allocations: 1.344 kB / 0.8181 GB, free: 14.92 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.7773, allocations: 44.59 kB / 0.8182 GB, free: 14.88 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.7773, allocations: 0 / 0.8182 GB, free: 14.88 MB / 0.5574 GB Notification: Performance of matching and sorting (n=5): time 0.0002486/0.7775, allocations: 69.53 kB / 0.8182 GB, free: 14.8 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.7776, allocations: 140.4 kB / 0.8184 GB, free: 14.63 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.7778, allocations: 137.2 kB / 0.8185 GB, free: 14.5 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.7778, allocations: 25.7 kB / 0.8185 GB, free: 14.46 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.7779, allocations: 115.9 kB / 0.8186 GB, free: 14.35 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.7779, allocations: 15.75 kB / 0.8186 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.7779, allocations: 0 / 0.8186 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.778, allocations: 322.8 kB / 0.8189 GB, free: 14.01 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.707e-05/0.7781, allocations: 16.66 kB / 0.819 GB, free: 13.99 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.7782, allocations: 61.16 kB / 0.819 GB, free: 13.91 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/0.7782, allocations: 22.62 kB / 0.819 GB, free: 13.89 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7782, allocations: 4.797 kB / 0.819 GB, free: 13.89 MB / 0.5574 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001477/0.7784, allocations: 98.36 kB / 0.8191 GB, free: 13.79 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.7784, allocations: 10.5 kB / 0.8192 GB, free: 13.78 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.7784, allocations: 0 / 0.8192 GB, free: 13.78 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7785, allocations: 3.938 kB / 0.8192 GB, free: 13.78 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.7786, allocations: 27.97 kB / 0.8192 GB, free: 13.75 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.7786, allocations: 0 / 0.8192 GB, free: 13.75 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.105e-05/0.7787, allocations: 13.22 kB / 0.8192 GB, free: 13.74 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.7787, allocations: 7.984 kB / 0.8192 GB, free: 13.73 MB / 0.5574 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 (8): * Single equations (assignments): 8 * 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 8.273e-05/0.7788, allocations: 110 kB / 0.8193 GB, free: 13.62 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.7789, allocations: 12.89 kB / 0.8193 GB, free: 13.61 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.7789, allocations: 11.66 kB / 0.8193 GB, free: 13.59 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.779, allocations: 3.938 kB / 0.8193 GB, free: 13.59 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.779, allocations: 0.7188 kB / 0.8193 GB, free: 13.59 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.779, allocations: 11.92 kB / 0.8193 GB, free: 13.58 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.7793, allocations: 194.8 kB / 0.8195 GB, free: 13.34 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7793, allocations: 4 kB / 0.8195 GB, free: 13.34 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.952e-05/0.7794, allocations: 23.5 kB / 0.8196 GB, free: 13.32 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.7794, allocations: 2.531 kB / 0.8196 GB, free: 13.32 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.7794, allocations: 4 kB / 0.8196 GB, free: 13.31 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7794, allocations: 0 / 0.8196 GB, free: 13.31 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7794, allocations: 0 / 0.8196 GB, free: 13.31 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.7797, allocations: 354.4 kB / 0.8199 GB, free: 12.94 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.7797, allocations: 89 kB / 0.82 GB, free: 12.84 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.7798, allocations: 1.031 kB / 0.82 GB, free: 12.84 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.7799, allocations: 17.02 kB / 0.82 GB, free: 12.82 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.78, allocations: 4 kB / 0.82 GB, free: 12.82 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.78, allocations: 1.344 kB / 0.82 GB, free: 12.82 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 7.363e-05/0.7801, allocations: 111.3 kB / 0.8201 GB, free: 12.71 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7801, allocations: 0 / 0.8201 GB, free: 12.71 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003061/0.7804, allocations: 16.66 kB / 0.8201 GB, free: 12.69 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001256/0.7805, allocations: 95.73 kB / 0.8202 GB, free: 12.59 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.7807, allocations: 45.12 kB / 0.8203 GB, free: 12.55 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7807, allocations: 0 / 0.8203 GB, free: 12.55 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/0.7807, allocations: 28.55 kB / 0.8203 GB, free: 12.52 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.781, allocations: 10.36 kB / 0.8203 GB, free: 12.52 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.7813, allocations: 128.2 kB / 0.8204 GB, free: 12.36 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.7817, allocations: 0.706 MB / 0.8211 GB, free: 11.63 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 6.763e-05/0.7817, allocations: 5.906 kB / 0.8211 GB, free: 11.62 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.7818, allocations: 16.53 kB / 0.8211 GB, free: 11.61 MB / 0.5574 GB Notification: Performance of SimCode: time 3.61e-07/0.7818, allocations: 3.938 kB / 0.8211 GB, free: 11.6 MB / 0.5574 GB Notification: Performance of Templates: time 0.002984/0.7848, allocations: 0.614 MB / 0.8217 GB, free: 11.05 MB / 0.5574 GB make -j1 -f ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.makefile (rm -f ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe ; mkfifo ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe >> ../files/ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.sim & ./ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Visualisation.Check.TestDynamicBar.mat","../files/ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches