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.01227/0.01227, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.762/1.762, allocations: 223.2 MB / 239 MB, free: 1.816 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.00101/0.00101, allocations: 97.08 kB / 290.2 MB, free: 13.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.103/0.103, allocations: 20.32 MB / 361.6 MB, free: 6.672 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.354/1.354, allocations: 127.1 MB / 0.533 GB, free: 17.12 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0006271/0.0006275, allocations: 12 kB / 0.6256 GB, free: 11.08 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2431, allocations: 82.86 MB / 0.7065 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6829/0.9261, allocations: 120.1 MB / 0.8237 GB, free: 5 MB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/0.9265, allocations: 94.72 kB / 0.8238 GB, free: 4.945 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.005161/0.9317, allocations: 1.877 MB / 0.8257 GB, free: 3.359 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.005e-06/0.9317, allocations: 0 / 0.8257 GB, free: 3.359 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.9317, allocations: 4 kB / 0.8257 GB, free: 3.355 MB / 0.5262 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.0005894/0.9323, allocations: 432.1 kB / 0.8261 GB, free: 2.898 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.9324, allocations: 8.031 kB / 0.8261 GB, free: 2.891 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.9325, allocations: 37.97 kB / 0.8261 GB, free: 2.848 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.9325, allocations: 16.92 kB / 0.8261 GB, free: 2.832 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.9327, allocations: 206.4 kB / 0.8263 GB, free: 2.594 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.9327, allocations: 1.562 kB / 0.8263 GB, free: 2.594 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.9328, allocations: 8.094 kB / 0.8263 GB, free: 2.59 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.9331, allocations: 122.3 kB / 0.8265 GB, free: 2.484 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.9331, allocations: 0 / 0.8265 GB, free: 2.484 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.9332, allocations: 3 kB / 0.8265 GB, free: 2.484 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.9332, allocations: 4.562 kB / 0.8265 GB, free: 2.48 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.9336, allocations: 139.3 kB / 0.8266 GB, free: 2.363 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007577/0.9343, allocations: 374.8 kB / 0.827 GB, free: 1.988 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.9346, allocations: 96.73 kB / 0.8271 GB, free: 1.898 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.9346, allocations: 0 / 0.8271 GB, free: 1.898 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.9347, allocations: 37.58 kB / 0.8271 GB, free: 1.855 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.9347, allocations: 1.125 kB / 0.8271 GB, free: 1.855 MB / 0.5262 GB Notification: Performance of matching and sorting (n=6): time 0.0007295/0.9354, allocations: 237 kB / 0.8273 GB, free: 1.652 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.9355, allocations: 51.41 kB / 0.8274 GB, free: 1.59 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.9356, allocations: 131.3 kB / 0.8275 GB, free: 1.461 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.9356, allocations: 25.7 kB / 0.8275 GB, free: 1.43 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.9357, allocations: 109.7 kB / 0.8276 GB, free: 1.332 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.9357, allocations: 19.16 kB / 0.8276 GB, free: 1.316 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.9357, allocations: 0.5938 kB / 0.8276 GB, free: 1.316 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.9359, allocations: 324.5 kB / 0.8279 GB, free: 0.9961 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.9361, allocations: 69.17 kB / 0.828 GB, free: 0.9414 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.9363, allocations: 71.02 kB / 0.8281 GB, free: 0.8828 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.9364, allocations: 61.64 kB / 0.8281 GB, free: 0.832 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9365, allocations: 0.9375 kB / 0.8281 GB, free: 0.832 MB / 0.5262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004152/0.9369, allocations: 182.6 kB / 0.8283 GB, free: 0.668 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.9369, allocations: 4 kB / 0.8283 GB, free: 0.6641 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.9369, allocations: 4.641 kB / 0.8283 GB, free: 0.6602 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.937, allocations: 0 / 0.8283 GB, free: 0.6602 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.9372, allocations: 36.97 kB / 0.8284 GB, free: 0.625 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.9372, allocations: 4 kB / 0.8284 GB, free: 0.6211 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.9373, allocations: 31.72 kB / 0.8284 GB, free: 0.5938 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.9373, allocations: 0 / 0.8284 GB, free: 0.5938 MB / 0.5262 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 () * Number of clocked 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.0001059/0.9374, allocations: 121.7 kB / 0.8285 GB, free: 480 kB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.9375, allocations: 16.33 kB / 0.8285 GB, free: 464 kB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.9375, allocations: 11.97 kB / 0.8285 GB, free: 456 kB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.9375, allocations: 0 / 0.8285 GB, free: 456 kB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9375, allocations: 0 / 0.8285 GB, free: 456 kB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9376, allocations: 0 / 0.8285 GB, free: 456 kB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.9378, allocations: 200.2 kB / 0.8287 GB, free: 224 kB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.9378, allocations: 1.406 kB / 0.8287 GB, free: 224 kB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.938, allocations: 35.97 kB / 0.8288 GB, free: 188 kB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.938, allocations: 4 kB / 0.8288 GB, free: 184 kB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.938, allocations: 9.141 kB / 0.8288 GB, free: 180 kB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.938, allocations: 0 / 0.8288 GB, free: 180 kB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.938, allocations: 0 / 0.8288 GB, free: 180 kB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008293/0.9389, allocations: 348.2 kB / 0.8291 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.939, allocations: 85.05 kB / 0.8292 GB, free: 15.75 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.939, allocations: 0 / 0.8292 GB, free: 15.75 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.9392, allocations: 31.98 kB / 0.8292 GB, free: 15.72 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/0.9392, allocations: 11.48 kB / 0.8292 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.9393, allocations: 0 / 0.8292 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 8.924e-05/0.9393, allocations: 106.8 kB / 0.8293 GB, free: 15.62 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9394, allocations: 4 kB / 0.8293 GB, free: 15.62 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002407/0.9396, allocations: 15.5 kB / 0.8293 GB, free: 15.61 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 () * Number of clocked 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.00115/0.9408, allocations: 0.8817 MB / 0.8302 GB, free: 14.73 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0004822/0.9413, allocations: 141.1 kB / 0.8303 GB, free: 14.61 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.9413, allocations: 4 kB / 0.8303 GB, free: 14.61 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.9415, allocations: 69.88 kB / 0.8304 GB, free: 14.55 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.9418, allocations: 13.72 kB / 0.8304 GB, free: 14.54 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.9439, allocations: 0.815 MB / 0.8312 GB, free: 13.76 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.9443, allocations: 0.7043 MB / 0.8319 GB, free: 13.03 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 5.653e-05/0.9443, allocations: 8.172 kB / 0.8319 GB, free: 13.02 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.9444, allocations: 27.56 kB / 0.8319 GB, free: 13.01 MB / 0.5418 GB Notification: Performance of SimCode: time 4.1e-07/0.9444, allocations: 4 kB / 0.8319 GB, free: 13.01 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.9613, allocations: 2.015 MB / 0.8339 GB, free: 11.25 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003098/0.9618, allocations: 197.2 kB / 0.8341 GB, free: 11 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.8, allocations: 0.6562 kB / 0.8341 GB, free: 11 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