Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.conf.json loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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/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/TILMedia 1.8.1-main/package.mo", uses=false) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/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) 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 ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Running command: "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestMaxAbs,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestMaxAbs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestMaxAbs,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestMaxAbs",fmuType="me",version="2.0",platforms={"static"}) [/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_L2 ShellType_L3 TubeType_L3 TubeType_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_L2 ShellType_L3 TubeType_L3 TubeType_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.8529/0.8529, allocations: 127.1 MB / 142.1 MB, free: 14.68 MB / 126.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009204/0.0009204, allocations: 95.45 kB / 169.3 MB, free: 3.52 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 177.9 kB / 196.6 MB, free: 10.93 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 223.1 MB / 446.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1049/0.1049, allocations: 22.56 MB / 0.5342 GB, free: 1.004 MB / 398.1 MB Warning: Requested package TILMedia of version 1.8.0 ClaRa, but this package was already loaded with version 1.8.1 ClaRa. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004583, allocations: 11.7 kB / 0.6274 GB, free: 80.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1834, allocations: 83.49 MB / 0.7089 GB, free: 4.867 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.0008072/0.1842, allocations: 0.6439 MB / 0.7095 GB, free: 4.219 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1856, allocations: 1.35 MB / 0.7109 GB, free: 2.852 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.1857, allocations: 0 / 0.7109 GB, free: 2.852 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.206e-05/0.1857, allocations: 0 / 0.7109 GB, free: 2.852 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.186, allocations: 79.77 kB / 0.7109 GB, free: 2.773 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.866e-06/0.186, allocations: 0 / 0.7109 GB, free: 2.773 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 3.871e-05/0.1861, allocations: 3.984 kB / 0.7109 GB, free: 2.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.1861, allocations: 8 kB / 0.7109 GB, free: 2.762 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.4e-05/0.1861, allocations: 3.938 kB / 0.7109 GB, free: 2.758 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.836e-05/0.1862, allocations: 3.938 kB / 0.711 GB, free: 2.754 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-06/0.1862, allocations: 0 / 0.711 GB, free: 2.754 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.1865, allocations: 183.7 kB / 0.7111 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-06/0.1865, allocations: 0 / 0.7111 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.1865, allocations: 29.64 kB / 0.7112 GB, free: 2.539 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 9.842e-05/0.1866, allocations: 63.92 kB / 0.7112 GB, free: 2.477 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1866, allocations: 0 / 0.7112 GB, free: 2.477 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1866, allocations: 0 / 0.7112 GB, free: 2.477 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1866, allocations: 4 kB / 0.7112 GB, free: 2.473 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002039/0.1868, allocations: 331.3 kB / 0.7115 GB, free: 2.102 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1869, allocations: 8.031 kB / 0.7115 GB, free: 2.094 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.706e-05/0.1869, allocations: 38.52 kB / 0.7116 GB, free: 2.047 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.997e-05/0.1869, allocations: 0 / 0.7116 GB, free: 2.047 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.098e-05/0.187, allocations: 163.3 kB / 0.7117 GB, free: 1.848 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.187, allocations: 4 kB / 0.7117 GB, free: 1.844 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.187, allocations: 4 kB / 0.7117 GB, free: 1.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.788e-05/0.1871, allocations: 33.7 kB / 0.7118 GB, free: 1.801 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1871, allocations: 7.984 kB / 0.7118 GB, free: 1.793 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.1872, allocations: 0 / 0.7118 GB, free: 1.793 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1872, allocations: 7.891 kB / 0.7118 GB, free: 1.785 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.525e-05/0.1872, allocations: 8 kB / 0.7118 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.1873, allocations: 157.6 kB / 0.7119 GB, free: 1.574 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.09e-05/0.1874, allocations: 42.5 kB / 0.712 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/0.1877, allocations: 348.5 kB / 0.7123 GB, free: 1.109 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.1877, allocations: 34.56 kB / 0.7124 GB, free: 1.066 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1877, allocations: 0 / 0.7124 GB, free: 1.066 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001341/0.1879, allocations: 57.62 kB / 0.7124 GB, free: 1.004 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.1879, allocations: 51.41 kB / 0.7125 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.042e-05/0.1879, allocations: 93.81 kB / 0.7125 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.188, allocations: 25.7 kB / 0.7126 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.153e-05/0.188, allocations: 80.14 kB / 0.7126 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.188, allocations: 23.8 kB / 0.7127 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.188, allocations: 0 / 0.7127 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.042e-05/0.1881, allocations: 314.8 kB / 0.713 GB, free: 396 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.1881, allocations: 4 kB / 0.713 GB, free: 392 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.021e-05/0.1881, allocations: 8 kB / 0.713 GB, free: 384 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.132e-05/0.1881, allocations: 8 kB / 0.713 GB, free: 376 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1881, allocations: 0 / 0.713 GB, free: 376 kB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.398e-05/0.1882, allocations: 49.62 kB / 0.713 GB, free: 320 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1882, allocations: 8 kB / 0.713 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1882, allocations: 0 / 0.713 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1882, allocations: 4 kB / 0.713 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.1883, allocations: 7.984 kB / 0.7131 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1883, allocations: 3.984 kB / 0.7131 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.189e-05/0.1883, allocations: 4 kB / 0.7131 GB, free: 292 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.1883, allocations: 7.891 kB / 0.7131 GB, free: 284 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.532e-05/0.1884, allocations: 113.8 kB / 0.7132 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-06/0.1884, allocations: 4 kB / 0.7132 GB, free: 156 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.1885, allocations: 61.12 kB / 0.7132 GB, free: 88 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1885, allocations: 0 / 0.7132 GB, free: 88 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1885, allocations: 0 / 0.7132 GB, free: 88 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1885, allocations: 4 kB / 0.7132 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1887, allocations: 161.5 kB / 0.7134 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1887, allocations: 0 / 0.7134 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.1887, allocations: 7.984 kB / 0.7134 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1887, allocations: 0 / 0.7134 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1887, allocations: 0 / 0.7134 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1887, allocations: 8 kB / 0.7134 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1887, allocations: 0 / 0.7134 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.526e-05/0.1888, allocations: 77.45 kB / 0.7135 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.1889, allocations: 85.09 kB / 0.7136 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.1889, allocations: 3.984 kB / 0.7136 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.027e-05/0.1889, allocations: 3.938 kB / 0.7136 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.1889, allocations: 0 / 0.7136 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1889, allocations: 11.94 kB / 0.7136 GB, free: 15.64 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.881e-05/0.189, allocations: 79.27 kB / 0.7137 GB, free: 15.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.189, allocations: 0 / 0.7137 GB, free: 15.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001952/0.1892, allocations: 20 kB / 0.7137 GB, free: 15.55 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003932/0.1896, allocations: 0.6163 MB / 0.7143 GB, free: 14.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 8.492e-05/0.1897, allocations: 27.92 kB / 0.7143 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1897, allocations: 0 / 0.7143 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.579e-05/0.1897, allocations: 8 kB / 0.7143 GB, free: 14.87 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.398e-05/0.1898, allocations: 4 kB / 0.7143 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.1901, allocations: 136.3 kB / 0.7145 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.1904, allocations: 0.6731 MB / 0.7151 GB, free: 13.99 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.43e-05/0.1904, allocations: 4 kB / 0.7151 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.1905, allocations: 11.42 kB / 0.7151 GB, free: 13.97 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1905, allocations: 0 / 0.7151 GB, free: 13.97 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01123/0.2017, allocations: 1.183 MB / 0.7163 GB, free: 12.9 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/0.2019, allocations: 164.5 kB / 0.7164 GB, free: 12.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.075, allocations: 0 / 0.7164 GB, free: 12.66 MB / 478.1 MB (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestMaxAbs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestMaxAbs.fmu > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat does not exist to compare? outputFormat=mat