Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.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.testGradientLimiter,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter",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.001073/0.001073, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.5 MB / 229.6 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 90.11 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1049/0.1049, allocations: 20.18 MB / 351.4 MB, free: 10.99 MB / 250.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 0.7832/0.7832, allocations: 127.6 MB / 0.5233 GB, free: 1.008 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.376e-05, allocations: 7.906 kB / 0.6111 GB, free: 7.664 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6537/0.6538, allocations: 82.86 MB / 0.692 GB, free: 3.047 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.8568, allocations: 119.4 MB / 0.8086 GB, free: 9.742 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.8571, allocations: 87.91 kB / 0.8087 GB, free: 9.656 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.005443/0.8626, allocations: 1.84 MB / 0.8105 GB, free: 7.805 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8626, allocations: 3.938 kB / 0.8105 GB, free: 7.801 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.8627, allocations: 0 / 0.8105 GB, free: 7.801 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005661/0.8632, allocations: 418.2 kB / 0.8109 GB, free: 7.348 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.8633, allocations: 12.02 kB / 0.8109 GB, free: 7.336 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.8633, allocations: 15.81 kB / 0.8109 GB, free: 7.32 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.8636, allocations: 192.7 kB / 0.8111 GB, free: 7.09 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.8636, allocations: 0 / 0.8111 GB, free: 7.09 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.8636, allocations: 7.984 kB / 0.8111 GB, free: 7.082 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001304/0.8637, allocations: 36 kB / 0.8111 GB, free: 7.047 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.8639, allocations: 73.36 kB / 0.8112 GB, free: 6.973 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.8639, allocations: 3.938 kB / 0.8112 GB, free: 6.969 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.8639, allocations: 0 / 0.8112 GB, free: 6.969 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.8639, allocations: 4 kB / 0.8112 GB, free: 6.965 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006632/0.8646, allocations: 357.2 kB / 0.8116 GB, free: 6.578 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.8647, allocations: 42.52 kB / 0.8116 GB, free: 6.527 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.8648, allocations: 28.97 kB / 0.8116 GB, free: 6.496 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.8648, allocations: 0 / 0.8116 GB, free: 6.496 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.8648, allocations: 38.56 kB / 0.8117 GB, free: 6.449 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.8648, allocations: 0 / 0.8117 GB, free: 6.449 MB / 0.5418 GB Notification: Performance of matching and sorting (n=6): time 0.0002309/0.8651, allocations: 73.55 kB / 0.8117 GB, free: 6.371 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.8651, allocations: 55.16 kB / 0.8118 GB, free: 6.309 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.8653, allocations: 129 kB / 0.8119 GB, free: 6.172 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.8653, allocations: 25.7 kB / 0.8119 GB, free: 6.141 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.8654, allocations: 108.2 kB / 0.812 GB, free: 6.031 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.8654, allocations: 23.66 kB / 0.8121 GB, free: 6.008 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.8654, allocations: 0 / 0.8121 GB, free: 6.008 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.8655, allocations: 322.8 kB / 0.8124 GB, free: 5.684 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.8656, allocations: 20 kB / 0.8124 GB, free: 5.664 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.281e-05/0.8656, allocations: 19.98 kB / 0.8124 GB, free: 5.645 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.048e-05/0.8657, allocations: 15.98 kB / 0.8124 GB, free: 5.629 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.8657, allocations: 4 kB / 0.8124 GB, free: 5.625 MB / 0.5418 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001298/0.8658, allocations: 73.61 kB / 0.8125 GB, free: 5.547 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8659, allocations: 4 kB / 0.8125 GB, free: 5.543 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.8659, allocations: 3.984 kB / 0.8125 GB, free: 5.539 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.8659, allocations: 0 / 0.8125 GB, free: 5.539 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.8661, allocations: 35.94 kB / 0.8125 GB, free: 5.504 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.8661, allocations: 7.984 kB / 0.8125 GB, free: 5.496 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.8662, allocations: 23.98 kB / 0.8126 GB, free: 5.473 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.8663, allocations: 0 / 0.8126 GB, free: 5.473 MB / 0.5418 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 9.271e-05/0.8664, allocations: 108.7 kB / 0.8127 GB, free: 5.359 MB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001372/0.8665, allocations: 77.5 kB / 0.8127 GB, free: 5.277 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.8665, allocations: 7.906 kB / 0.8128 GB, free: 5.27 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.8666, allocations: 20.56 kB / 0.8128 GB, free: 5.25 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.8666, allocations: 4 kB / 0.8128 GB, free: 5.246 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.8666, allocations: 3.938 kB / 0.8128 GB, free: 5.242 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.8666, allocations: 0 / 0.8128 GB, free: 5.242 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.8668, allocations: 174.2 kB / 0.8129 GB, free: 5.035 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8668, allocations: 4 kB / 0.813 GB, free: 5.031 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.867, allocations: 31.97 kB / 0.813 GB, free: 5 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.867, allocations: 0 / 0.813 GB, free: 5 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.867, allocations: 4 kB / 0.813 GB, free: 4.996 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.867, allocations: 0 / 0.813 GB, free: 4.996 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.8671, allocations: 3.953 kB / 0.813 GB, free: 4.992 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.8673, allocations: 205.6 kB / 0.8132 GB, free: 4.777 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.8674, allocations: 89 kB / 0.8133 GB, free: 4.672 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.8674, allocations: 4.031 kB / 0.8133 GB, free: 4.668 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.8676, allocations: 24.05 kB / 0.8133 GB, free: 4.645 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.8677, allocations: 7.938 kB / 0.8133 GB, free: 4.637 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.8677, allocations: 4 kB / 0.8133 GB, free: 4.633 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 7.572e-05/0.8677, allocations: 99.83 kB / 0.8134 GB, free: 4.535 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8678, allocations: 3.188 kB / 0.8134 GB, free: 4.535 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002257/0.868, allocations: 23.84 kB / 0.8134 GB, free: 4.512 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (variableGradientLimiter.y_aux) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0005597/0.8686, allocations: 0.7319 MB / 0.8141 GB, free: 3.754 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.8687, allocations: 44 kB / 0.8142 GB, free: 3.711 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8687, allocations: 0 / 0.8142 GB, free: 3.711 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/0.8688, allocations: 27.94 kB / 0.8142 GB, free: 3.684 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.869, allocations: 7.984 kB / 0.8142 GB, free: 3.676 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008505/0.8699, allocations: 208.3 kB / 0.8144 GB, free: 3.43 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.8703, allocations: 0.7041 MB / 0.8151 GB, free: 2.699 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 5.849e-05/0.8703, allocations: 8.172 kB / 0.8151 GB, free: 2.691 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.8704, allocations: 35.36 kB / 0.8152 GB, free: 2.66 MB / 0.5418 GB Notification: Performance of SimCode: time 6.11e-07/0.8704, allocations: 0 / 0.8152 GB, free: 2.66 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.8947, allocations: 1.661 MB / 0.8168 GB, free: 1.039 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/0.895, allocations: 139.2 kB / 0.8169 GB, free: 0.8516 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.606, allocations: 2.391 kB / 0.8169 GB, free: 0.8516 MB / 0.5418 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat does not exist to compare? outputFormat=mat