Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.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.Components.Utilities.Blocks.Check.TestMinMax,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax",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.001595/0.001595, allocations: 173.9 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.632/1.632, 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.0008456/0.0008456, allocations: 89.28 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.1047/0.1047, allocations: 20.15 MB / 356.6 MB, free: 5.922 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.314/1.314, allocations: 127.6 MB / 0.5284 GB, free: 15.93 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 4.599e-05/4.612e-05, allocations: 4 kB / 0.6181 GB, free: 3.953 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5892/0.5893, allocations: 82.84 MB / 0.699 GB, free: 32.05 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2153/0.8046, allocations: 119.4 MB / 0.8155 GB, free: 1.848 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004256/0.8051, allocations: 87.94 kB / 0.8156 GB, free: 1.762 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.005463/0.8106, allocations: 1.522 MB / 0.8171 GB, free: 264 kB / 0.5418 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8107, allocations: 0 / 0.8171 GB, free: 264 kB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.763e-05/0.8107, allocations: 0.5938 kB / 0.8171 GB, free: 264 kB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006953/0.8114, allocations: 397.5 kB / 0.8175 GB, free: 15.83 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 7.25e-05/0.8115, allocations: 9.312 kB / 0.8175 GB, free: 15.82 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.64e-05/0.8116, allocations: 43.47 kB / 0.8175 GB, free: 15.77 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.8116, allocations: 11.86 kB / 0.8175 GB, free: 15.76 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.8119, allocations: 184 kB / 0.8177 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.8119, allocations: 5 kB / 0.8177 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.812, allocations: 4 kB / 0.8177 GB, free: 15.53 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.8122, allocations: 74.02 kB / 0.8178 GB, free: 15.46 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.8122, allocations: 3.938 kB / 0.8178 GB, free: 15.45 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.8123, allocations: 9.016 kB / 0.8178 GB, free: 15.45 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.8123, allocations: 0 / 0.8178 GB, free: 15.45 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.849e-05/0.8124, allocations: 28 kB / 0.8178 GB, free: 15.42 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.8132, allocations: 346.9 kB / 0.8182 GB, free: 15.04 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.8137, allocations: 120 kB / 0.8183 GB, free: 14.91 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/0.8138, allocations: 24.98 kB / 0.8183 GB, free: 14.89 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.8138, allocations: 0 / 0.8183 GB, free: 14.89 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.8138, allocations: 34.52 kB / 0.8183 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.8138, allocations: 0.7188 kB / 0.8183 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of matching and sorting (n=5): time 0.0002695/0.8141, allocations: 77.52 kB / 0.8184 GB, free: 14.76 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.8142, allocations: 56.25 kB / 0.8185 GB, free: 14.7 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.8143, allocations: 119.2 kB / 0.8186 GB, free: 14.57 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.8144, allocations: 25.7 kB / 0.8186 GB, free: 14.54 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/0.8145, allocations: 96.95 kB / 0.8187 GB, free: 14.44 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.8145, allocations: 23.7 kB / 0.8187 GB, free: 14.42 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.8145, allocations: 0.9062 kB / 0.8187 GB, free: 14.42 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8147, allocations: 315.7 kB / 0.819 GB, free: 14.1 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.8147, allocations: 16 kB / 0.819 GB, free: 14.09 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.8148, allocations: 23.98 kB / 0.8191 GB, free: 14.06 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.8149, allocations: 16.91 kB / 0.8191 GB, free: 14.05 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8149, allocations: 0 / 0.8191 GB, free: 14.05 MB / 0.5574 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001849/0.8151, allocations: 85.92 kB / 0.8192 GB, free: 13.96 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.8151, allocations: 8.5 kB / 0.8192 GB, free: 13.95 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.8151, allocations: 6.453 kB / 0.8192 GB, free: 13.95 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.8152, allocations: 0 / 0.8192 GB, free: 13.95 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.8153, allocations: 39.91 kB / 0.8192 GB, free: 13.91 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.8154, allocations: 0 / 0.8192 GB, free: 13.91 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.8155, allocations: 29.66 kB / 0.8192 GB, free: 13.88 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.8155, allocations: 3.219 kB / 0.8192 GB, free: 13.88 MB / 0.5574 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001349/0.8157, allocations: 102.5 kB / 0.8193 GB, free: 13.78 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.8157, allocations: 11.91 kB / 0.8194 GB, free: 13.77 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.8158, allocations: 12.09 kB / 0.8194 GB, free: 13.75 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.8158, allocations: 4.641 kB / 0.8194 GB, free: 13.75 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.8158, allocations: 0.5938 kB / 0.8194 GB, free: 13.75 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.8158, allocations: 3.938 kB / 0.8194 GB, free: 13.75 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.8161, allocations: 186.7 kB / 0.8196 GB, free: 13.52 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8162, allocations: 0 / 0.8196 GB, free: 13.52 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.8163, allocations: 31.5 kB / 0.8196 GB, free: 13.49 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.8163, allocations: 0 / 0.8196 GB, free: 13.49 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.8164, allocations: 4 kB / 0.8196 GB, free: 13.48 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.8164, allocations: 5.859 kB / 0.8196 GB, free: 13.48 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.8164, allocations: 3.953 kB / 0.8196 GB, free: 13.48 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.8168, allocations: 196.1 kB / 0.8198 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 8.669e-05/0.8169, allocations: 85.83 kB / 0.8199 GB, free: 13.17 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.8169, allocations: 0 / 0.8199 GB, free: 13.17 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.8171, allocations: 29.31 kB / 0.8199 GB, free: 13.14 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/0.8172, allocations: 8.75 kB / 0.8199 GB, free: 13.13 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.8172, allocations: 4 kB / 0.8199 GB, free: 13.13 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 9.489e-05/0.8173, allocations: 97.56 kB / 0.82 GB, free: 13.04 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8173, allocations: 0.625 kB / 0.82 GB, free: 13.04 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002476/0.8176, allocations: 13.03 kB / 0.82 GB, free: 13.02 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (timeExtrema.ymax,timeExtrema.ymin) * 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.0008713/0.8184, allocations: 0.7359 MB / 0.8207 GB, free: 12.26 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.8186, allocations: 48.5 kB / 0.8208 GB, free: 12.22 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8187, allocations: 0 / 0.8208 GB, free: 12.22 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 6.281e-05/0.8187, allocations: 24.69 kB / 0.8208 GB, free: 12.2 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.819, allocations: 8.656 kB / 0.8208 GB, free: 12.19 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007121/0.8197, allocations: 184.7 kB / 0.821 GB, free: 11.97 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.8202, allocations: 0.7033 MB / 0.8217 GB, free: 11.25 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 6.585e-05/0.8203, allocations: 14.08 kB / 0.8217 GB, free: 11.23 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.8204, allocations: 15.44 kB / 0.8217 GB, free: 11.22 MB / 0.5574 GB Notification: Performance of SimCode: time 2.61e-07/0.8204, allocations: 0 / 0.8217 GB, free: 11.22 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.8384, allocations: 1.702 MB / 0.8234 GB, free: 9.766 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/0.8387, allocations: 145.9 kB / 0.8235 GB, free: 9.547 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.592, allocations: 2.719 kB / 0.8235 GB, free: 9.547 MB / 0.5574 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat does not exist to compare? outputFormat=mat