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.001746/0.001746, allocations: 174.7 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.694/1.694, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.001115/0.001115, allocations: 94.92 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1079/0.1079, allocations: 20.17 MB / 356.7 MB, free: 5.895 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.353/1.353, allocations: 127.5 MB / 0.5284 GB, free: 15.92 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 7.536e-05/7.544e-05, allocations: 4 kB / 0.6181 GB, free: 3.941 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5964/0.5965, allocations: 82.85 MB / 0.699 GB, free: 31.93 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.7919, allocations: 120 MB / 0.8162 GB, free: 1.059 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/0.7923, allocations: 87.94 kB / 0.8163 GB, free: 0.9727 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.00681/0.7992, allocations: 1.861 MB / 0.8181 GB, free: 15.13 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.815e-06/0.7992, allocations: 0 / 0.8181 GB, free: 15.13 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 2.436e-05/0.7993, allocations: 4 kB / 0.8181 GB, free: 15.12 MB / 0.5574 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.0008552/0.8001, allocations: 418 kB / 0.8185 GB, free: 14.68 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 8.181e-05/0.8002, allocations: 12.75 kB / 0.8185 GB, free: 14.66 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.367e-05/0.8003, allocations: 34.56 kB / 0.8185 GB, free: 14.62 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.8004, allocations: 15.77 kB / 0.8185 GB, free: 14.61 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.8008, allocations: 197.6 kB / 0.8187 GB, free: 14.37 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.8008, allocations: 5.875 kB / 0.8187 GB, free: 14.37 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.8009, allocations: 8 kB / 0.8187 GB, free: 14.36 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.8012, allocations: 82.08 kB / 0.8188 GB, free: 14.28 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.8012, allocations: 0 / 0.8188 GB, free: 14.28 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.8012, allocations: 6.344 kB / 0.8188 GB, free: 14.27 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.8012, allocations: 0 / 0.8188 GB, free: 14.27 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.8013, allocations: 36 kB / 0.8189 GB, free: 14.24 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009408/0.8023, allocations: 379.8 kB / 0.8192 GB, free: 13.82 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.8025, allocations: 47.62 kB / 0.8193 GB, free: 13.77 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.8026, allocations: 29.42 kB / 0.8193 GB, free: 13.73 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.8026, allocations: 8.453 kB / 0.8193 GB, free: 13.73 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/0.8027, allocations: 31.12 kB / 0.8193 GB, free: 13.69 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=6): time 3.227e-06/0.8027, allocations: 0.5 kB / 0.8193 GB, free: 13.69 MB / 0.5574 GB Notification: Performance of matching and sorting (n=6): time 0.0002842/0.803, allocations: 78.62 kB / 0.8194 GB, free: 13.61 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.803, allocations: 51.41 kB / 0.8195 GB, free: 13.54 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.8032, allocations: 125.1 kB / 0.8196 GB, free: 13.41 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.8032, allocations: 25.7 kB / 0.8196 GB, free: 13.38 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.8033, allocations: 112.2 kB / 0.8197 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.8034, allocations: 20.28 kB / 0.8197 GB, free: 13.25 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.8034, allocations: 0 / 0.8197 GB, free: 13.25 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.8036, allocations: 324.2 kB / 0.82 GB, free: 12.92 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/0.8037, allocations: 20 kB / 0.8201 GB, free: 12.9 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/0.8037, allocations: 20.59 kB / 0.8201 GB, free: 12.88 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.165e-05/0.8038, allocations: 25 kB / 0.8201 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8038, allocations: 0.9375 kB / 0.8201 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001846/0.804, allocations: 81.58 kB / 0.8202 GB, free: 12.77 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.804, allocations: 8.609 kB / 0.8202 GB, free: 12.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.8041, allocations: 0 / 0.8202 GB, free: 12.77 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.8041, allocations: 0.5312 kB / 0.8202 GB, free: 12.77 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.8043, allocations: 38.44 kB / 0.8202 GB, free: 12.73 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.8043, allocations: 3.203 kB / 0.8202 GB, free: 12.73 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.8045, allocations: 25.77 kB / 0.8203 GB, free: 12.71 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.8045, allocations: 0.5 kB / 0.8203 GB, free: 12.71 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.0001101/0.8046, allocations: 114.1 kB / 0.8204 GB, free: 12.59 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.8047, allocations: 11.81 kB / 0.8204 GB, free: 12.58 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.8047, allocations: 18.36 kB / 0.8204 GB, free: 12.56 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.8047, allocations: 11.92 kB / 0.8204 GB, free: 12.55 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.8048, allocations: 1.812 kB / 0.8204 GB, free: 12.55 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.8048, allocations: 0 / 0.8204 GB, free: 12.55 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.8051, allocations: 201 kB / 0.8206 GB, free: 12.31 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.8051, allocations: 0 / 0.8206 GB, free: 12.31 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.8053, allocations: 33.84 kB / 0.8206 GB, free: 12.28 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.8053, allocations: 0 / 0.8206 GB, free: 12.28 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.8053, allocations: 0.9375 kB / 0.8206 GB, free: 12.28 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-05/0.8053, allocations: 7.953 kB / 0.8206 GB, free: 12.27 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8053, allocations: 0 / 0.8206 GB, free: 12.27 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.8056, allocations: 207 kB / 0.8208 GB, free: 12.05 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.8057, allocations: 85.05 kB / 0.8209 GB, free: 11.95 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.8058, allocations: 4.562 kB / 0.8209 GB, free: 11.95 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.8059, allocations: 25.31 kB / 0.8209 GB, free: 11.93 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.806, allocations: 14.72 kB / 0.821 GB, free: 11.91 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.806, allocations: 0 / 0.821 GB, free: 11.91 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 8.054e-05/0.8061, allocations: 111.2 kB / 0.8211 GB, free: 11.81 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8061, allocations: 0 / 0.8211 GB, free: 11.81 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002468/0.8064, allocations: 19.94 kB / 0.8211 GB, free: 11.79 MB / 0.5574 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.0007043/0.8071, allocations: 0.7338 MB / 0.8218 GB, free: 11.03 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.8073, allocations: 54.88 kB / 0.8219 GB, free: 10.98 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8073, allocations: 0 / 0.8219 GB, free: 10.98 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 6.385e-05/0.8074, allocations: 24 kB / 0.8219 GB, free: 10.95 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.8076, allocations: 19.06 kB / 0.8219 GB, free: 10.94 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.8086, allocations: 207.6 kB / 0.8221 GB, free: 10.7 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.8091, allocations: 0.7045 MB / 0.8228 GB, free: 9.973 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 6.782e-05/0.8092, allocations: 9.391 kB / 0.8228 GB, free: 9.965 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/0.8093, allocations: 32.83 kB / 0.8228 GB, free: 9.934 MB / 0.5574 GB Notification: Performance of SimCode: time 9.72e-07/0.8093, allocations: 0 / 0.8228 GB, free: 9.934 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.8285, allocations: 2.018 MB / 0.8248 GB, free: 8.184 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003662/0.8289, allocations: 162.2 kB / 0.8249 GB, free: 7.961 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.551, allocations: 1.828 kB / 0.8249 GB, free: 7.961 MB / 0.5574 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