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.9076/0.9076, allocations: 127.1 MB / 142.1 MB, free: 10.61 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.0008307/0.0008308, allocations: 103.2 kB / 169.3 MB, free: 11.76 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.001036/0.001036, allocations: 180.3 kB / 196.7 MB, free: 0.5859 MB / 158.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.721/1.721, allocations: 223.2 MB / 447.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1078/0.1078, allocations: 22.58 MB / 0.5344 GB, free: 312 kB / 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.0006047/0.0006048, allocations: 11.53 kB / 0.6275 GB, free: 80.95 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2074, allocations: 83.49 MB / 0.7091 GB, free: 4.664 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.0008645/0.2083, allocations: 0.6439 MB / 0.7097 GB, free: 4.016 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.2098, allocations: 1.342 MB / 0.711 GB, free: 2.656 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.2098, allocations: 4 kB / 0.711 GB, free: 2.652 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.2098, allocations: 0 / 0.711 GB, free: 2.652 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.2102, allocations: 79.78 kB / 0.7111 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.706e-06/0.2102, allocations: 0 / 0.7111 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 4.064e-05/0.2103, allocations: 7.938 kB / 0.7111 GB, free: 2.566 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.2103, allocations: 4 kB / 0.7111 GB, free: 2.562 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.651e-05/0.2103, allocations: 3.984 kB / 0.7111 GB, free: 2.559 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.2104, allocations: 7.984 kB / 0.7111 GB, free: 2.551 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-06/0.2104, allocations: 0 / 0.7111 GB, free: 2.551 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.2107, allocations: 187.6 kB / 0.7113 GB, free: 2.367 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.13e-06/0.2107, allocations: 4 kB / 0.7113 GB, free: 2.363 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.2107, allocations: 25.7 kB / 0.7113 GB, free: 2.332 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.2108, allocations: 59.91 kB / 0.7114 GB, free: 2.273 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2109, allocations: 0 / 0.7114 GB, free: 2.273 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2109, allocations: 0 / 0.7114 GB, free: 2.273 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2109, allocations: 0 / 0.7114 GB, free: 2.273 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.0002623/0.2111, allocations: 335.3 kB / 0.7117 GB, free: 1.898 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.2112, allocations: 12.02 kB / 0.7117 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.2112, allocations: 38.56 kB / 0.7117 GB, free: 1.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.2113, allocations: 3.953 kB / 0.7117 GB, free: 1.836 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.905e-05/0.2113, allocations: 159.4 kB / 0.7119 GB, free: 1.641 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.2114, allocations: 3.938 kB / 0.7119 GB, free: 1.637 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.2114, allocations: 4 kB / 0.7119 GB, free: 1.633 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.2115, allocations: 37.69 kB / 0.7119 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2115, allocations: 0 / 0.7119 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.2115, allocations: 3.984 kB / 0.7119 GB, free: 1.586 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2115, allocations: 7.953 kB / 0.7119 GB, free: 1.578 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.681e-05/0.2116, allocations: 12 kB / 0.712 GB, free: 1.566 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.2117, allocations: 157.6 kB / 0.7121 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.904e-05/0.2118, allocations: 42.55 kB / 0.7122 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.2118, allocations: 12.86 kB / 0.7122 GB, free: 1.297 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/0.2122, allocations: 348.5 kB / 0.7125 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.2122, allocations: 34.56 kB / 0.7125 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.2122, allocations: 4 kB / 0.7125 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001506/0.2124, allocations: 53.69 kB / 0.7126 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.2124, allocations: 51.41 kB / 0.7126 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.281e-05/0.2124, allocations: 93.81 kB / 0.7127 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.2124, allocations: 25.7 kB / 0.7127 GB, free: 0.582 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.178e-05/0.2125, allocations: 80.14 kB / 0.7128 GB, free: 0.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.2125, allocations: 15.81 kB / 0.7128 GB, free: 496 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.2125, allocations: 4 kB / 0.7128 GB, free: 492 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.2126, allocations: 314.8 kB / 0.7131 GB, free: 168 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.2126, allocations: 11.98 kB / 0.7132 GB, free: 156 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-06/0.2126, allocations: 4 kB / 0.7132 GB, free: 152 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.356e-05/0.2126, allocations: 8 kB / 0.7132 GB, free: 144 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2126, allocations: 0 / 0.7132 GB, free: 144 kB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.536e-05/0.2127, allocations: 45.69 kB / 0.7132 GB, free: 92 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2127, allocations: 8 kB / 0.7132 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2127, allocations: 4 kB / 0.7132 GB, free: 80 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2127, allocations: 4 kB / 0.7132 GB, free: 76 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.2128, allocations: 4 kB / 0.7132 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2128, allocations: 7.938 kB / 0.7132 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.161e-05/0.2128, allocations: 7.938 kB / 0.7132 GB, free: 56 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2128, allocations: 7.938 kB / 0.7133 GB, free: 48 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 9.082e-05/0.2129, allocations: 109.8 kB / 0.7134 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.213, allocations: 4 kB / 0.7134 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.2131, allocations: 57.19 kB / 0.7134 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2131, allocations: 0 / 0.7134 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.2131, allocations: 4 kB / 0.7134 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2131, allocations: 384 / 0.7134 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.2132, allocations: 161.5 kB / 0.7136 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2132, allocations: 0 / 0.7136 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.2133, allocations: 4 kB / 0.7136 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2133, allocations: 0 / 0.7136 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.2133, allocations: 3.984 kB / 0.7136 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2133, allocations: 4 kB / 0.7136 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2133, allocations: 3.984 kB / 0.7136 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.413e-05/0.2134, allocations: 81.02 kB / 0.7137 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.2135, allocations: 85.05 kB / 0.7137 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2135, allocations: 4 kB / 0.7138 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.938e-06/0.2135, allocations: 0 / 0.7138 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.2135, allocations: 0 / 0.7138 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.2135, allocations: 4 kB / 0.7138 GB, free: 15.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.7e-05/0.2136, allocations: 75.28 kB / 0.7138 GB, free: 15.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2136, allocations: 0 / 0.7138 GB, free: 15.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002093/0.2138, allocations: 23.98 kB / 0.7138 GB, free: 15.33 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.0004713/0.2143, allocations: 0.628 MB / 0.7145 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 9.044e-05/0.2144, allocations: 19.98 kB / 0.7145 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2144, allocations: 0 / 0.7145 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 2.353e-05/0.2144, allocations: 12 kB / 0.7145 GB, free: 14.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.2145, allocations: 7.938 kB / 0.7145 GB, free: 14.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.2149, allocations: 132.3 kB / 0.7146 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.2153, allocations: 0.677 MB / 0.7153 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.573e-05/0.2153, allocations: 4 kB / 0.7153 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.2154, allocations: 11.44 kB / 0.7153 GB, free: 13.75 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2154, allocations: 0 / 0.7153 GB, free: 13.75 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.227, allocations: 1.192 MB / 0.7165 GB, free: 12.66 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.2272, allocations: 178.1 kB / 0.7166 GB, free: 12.42 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.141, allocations: 0 / 0.7166 GB, free: 12.42 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