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: "" <> buildModelFMU(ClaRa.Visualisation.Check.TestDynamicBar,fileNamePrefix="ClaRa_dev_ClaRa_Visualisation_Check_TestDynamicBar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Visualisation.Check.TestDynamicBar,fileNamePrefix="ClaRa_dev_ClaRa_Visualisation_Check_TestDynamicBar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 174.6 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.435/1.435, 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.0009519/0.0009519, allocations: 108.8 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09027/0.09027, 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: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/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: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/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.218/1.218, allocations: 127.5 MB / 0.5284 GB, free: 15.88 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 4.101e-05/4.121e-05, allocations: 4.219 kB / 0.618 GB, free: 3.934 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5342, allocations: 82.85 MB / 0.699 GB, free: 32.17 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1848/0.719, allocations: 118.8 MB / 0.815 GB, free: 2.414 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.7194, allocations: 78.59 kB / 0.815 GB, free: 2.34 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.005629/0.725, allocations: 1.78 MB / 0.8168 GB, free: 0.5781 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.793e-06/0.725, allocations: 0 / 0.8168 GB, free: 0.5781 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.7251, allocations: 4.688 kB / 0.8168 GB, free: 0.5742 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.0004708/0.7256, allocations: 391.9 kB / 0.8172 GB, free: 152 kB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.7256, allocations: 13.59 kB / 0.8172 GB, free: 140 kB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.7257, allocations: 34.56 kB / 0.8172 GB, free: 96 kB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.7257, allocations: 16.7 kB / 0.8172 GB, free: 80 kB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.726, allocations: 187.5 kB / 0.8174 GB, free: 15.86 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.726, allocations: 12.88 kB / 0.8174 GB, free: 15.84 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.726, allocations: 7.938 kB / 0.8174 GB, free: 15.84 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.7263, allocations: 112.5 kB / 0.8175 GB, free: 15.71 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7263, allocations: 2.5 kB / 0.8175 GB, free: 15.71 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.7263, allocations: 0 / 0.8175 GB, free: 15.71 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.7263, allocations: 7.953 kB / 0.8175 GB, free: 15.7 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.844e-05/0.7264, allocations: 39.92 kB / 0.8176 GB, free: 15.66 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007552/0.7272, allocations: 0.5909 MB / 0.8182 GB, free: 15.02 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.7273, allocations: 72.64 kB / 0.8182 GB, free: 14.92 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.476e-05/0.7274, allocations: 37.92 kB / 0.8183 GB, free: 14.88 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.7274, allocations: 0 / 0.8183 GB, free: 14.88 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.7274, allocations: 30.56 kB / 0.8183 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.7274, allocations: 0 / 0.8183 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of matching and sorting (n=5): time 0.0002505/0.7277, allocations: 78.52 kB / 0.8184 GB, free: 14.76 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.7278, allocations: 137.5 kB / 0.8185 GB, free: 14.59 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.7279, allocations: 134.4 kB / 0.8186 GB, free: 14.46 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.7279, allocations: 29.7 kB / 0.8186 GB, free: 14.42 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.728, allocations: 111.9 kB / 0.8188 GB, free: 14.31 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.7281, allocations: 24.77 kB / 0.8188 GB, free: 14.29 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.7281, allocations: 0 / 0.8188 GB, free: 14.29 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7282, allocations: 319.9 kB / 0.8191 GB, free: 13.96 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.7282, allocations: 15.98 kB / 0.8191 GB, free: 13.95 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.7283, allocations: 59.94 kB / 0.8192 GB, free: 13.87 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/0.7284, allocations: 27.69 kB / 0.8192 GB, free: 13.85 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7284, allocations: 0 / 0.8192 GB, free: 13.85 MB / 0.5574 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001547/0.7285, allocations: 100.1 kB / 0.8193 GB, free: 13.75 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.7286, allocations: 4 kB / 0.8193 GB, free: 13.74 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7286, allocations: 0 / 0.8193 GB, free: 13.74 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.7286, allocations: 4 kB / 0.8193 GB, free: 13.74 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.7287, allocations: 27.97 kB / 0.8193 GB, free: 13.71 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.7288, allocations: 1.641 kB / 0.8193 GB, free: 13.71 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.7289, allocations: 17.48 kB / 0.8193 GB, free: 13.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.7289, allocations: 4 kB / 0.8193 GB, free: 13.69 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 7.408e-05/0.729, allocations: 113.7 kB / 0.8194 GB, free: 13.57 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.729, allocations: 8.531 kB / 0.8195 GB, free: 13.57 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.7291, allocations: 20.8 kB / 0.8195 GB, free: 13.55 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.7291, allocations: 7.625 kB / 0.8195 GB, free: 13.54 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7291, allocations: 3.938 kB / 0.8195 GB, free: 13.54 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.7291, allocations: 0.9375 kB / 0.8195 GB, free: 13.54 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.7294, allocations: 193.6 kB / 0.8197 GB, free: 13.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.7294, allocations: 3.953 kB / 0.8197 GB, free: 13.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.7e-05/0.7295, allocations: 21.08 kB / 0.8197 GB, free: 13.28 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.7295, allocations: 1.125 kB / 0.8197 GB, free: 13.28 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.7295, allocations: 4 kB / 0.8197 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.7296, allocations: 2.812 kB / 0.8197 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7296, allocations: 5.281 kB / 0.8197 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.7298, allocations: 354.8 kB / 0.82 GB, free: 12.9 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.7299, allocations: 85.02 kB / 0.8201 GB, free: 12.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.7299, allocations: 6 kB / 0.8201 GB, free: 12.79 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.7301, allocations: 11.98 kB / 0.8201 GB, free: 12.78 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.7301, allocations: 3.984 kB / 0.8201 GB, free: 12.78 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.7302, allocations: 6.125 kB / 0.8202 GB, free: 12.77 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 8.037e-05/0.7302, allocations: 111.3 kB / 0.8203 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7302, allocations: 0 / 0.8203 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002857/0.7305, allocations: 16 kB / 0.8203 GB, free: 12.65 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.0005289/0.7311, allocations: 1.004 MB / 0.8213 GB, free: 11.61 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.7312, allocations: 46.67 kB / 0.8213 GB, free: 11.57 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7312, allocations: 0 / 0.8213 GB, free: 11.57 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 4.932e-05/0.7313, allocations: 23.94 kB / 0.8213 GB, free: 11.55 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.7315, allocations: 8.891 kB / 0.8213 GB, free: 11.54 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.7321, allocations: 171.1 kB / 0.8215 GB, free: 11.33 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.7324, allocations: 0.7018 MB / 0.8222 GB, free: 10.6 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 7.04e-05/0.7324, allocations: 14.59 kB / 0.8222 GB, free: 10.59 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.7325, allocations: 31.36 kB / 0.8222 GB, free: 10.55 MB / 0.5574 GB Notification: Performance of SimCode: time 2.31e-07/0.7325, allocations: 4 kB / 0.8222 GB, free: 10.55 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.7458, allocations: 1.778 MB / 0.824 GB, free: 9.004 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/0.7462, allocations: 147.8 kB / 0.8241 GB, free: 8.781 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.491, allocations: 0 / 0.8241 GB, free: 8.781 MB / 0.5574 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Visualisation_Check_TestDynamicBar_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Visualisation_Check_TestDynamicBar.fmu > ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar_res.mat does not exist to compare? outputFormat=mat