Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.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.TestStepsmootherGain,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain",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.001624/0.001624, allocations: 174.8 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.513/1.513, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0008816/0.0008817, allocations: 92.42 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.08689/0.08689, allocations: 20.17 MB / 356.7 MB, free: 5.91 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.195/1.195, allocations: 127.6 MB / 0.5284 GB, free: 15.91 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.924e-05, allocations: 4.219 kB / 0.6181 GB, free: 3.93 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5635/0.5636, allocations: 82.84 MB / 0.699 GB, free: 32.02 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.221/0.7846, allocations: 119.7 MB / 0.8159 GB, free: 1.43 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/0.785, allocations: 87.92 kB / 0.816 GB, free: 1.344 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01059/0.7957, allocations: 3.009 MB / 0.8189 GB, free: 14.4 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7957, allocations: 0.9688 kB / 0.8189 GB, free: 14.4 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.7957, allocations: 0 / 0.8189 GB, free: 14.4 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007101/0.7964, allocations: 430.7 kB / 0.8193 GB, free: 13.94 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/0.7965, allocations: 8.75 kB / 0.8193 GB, free: 13.93 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.942e-05/0.7966, allocations: 42.48 kB / 0.8194 GB, free: 13.88 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.7966, allocations: 16.92 kB / 0.8194 GB, free: 13.87 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.7968, allocations: 176.6 kB / 0.8196 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.7968, allocations: 0 / 0.8196 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.7969, allocations: 4 kB / 0.8196 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.7971, allocations: 62.33 kB / 0.8196 GB, free: 13.59 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.7971, allocations: 0.5 kB / 0.8196 GB, free: 13.59 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.7971, allocations: 5.344 kB / 0.8196 GB, free: 13.59 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.7971, allocations: 7.812 kB / 0.8196 GB, free: 13.58 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.7972, allocations: 39.95 kB / 0.8197 GB, free: 13.54 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.7978, allocations: 306.9 kB / 0.82 GB, free: 13.2 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.798, allocations: 38.61 kB / 0.82 GB, free: 13.15 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.718e-05/0.798, allocations: 27.7 kB / 0.82 GB, free: 13.12 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.7981, allocations: 3.984 kB / 0.82 GB, free: 13.12 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.7981, allocations: 38.52 kB / 0.8201 GB, free: 13.07 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=5): time 1.963e-06/0.7981, allocations: 0 / 0.8201 GB, free: 13.07 MB / 0.5574 GB Notification: Performance of matching and sorting (n=5): time 0.0002806/0.7984, allocations: 73.59 kB / 0.8201 GB, free: 12.99 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.7985, allocations: 51.97 kB / 0.8202 GB, free: 12.93 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.7986, allocations: 115.1 kB / 0.8203 GB, free: 12.81 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.7987, allocations: 34.48 kB / 0.8203 GB, free: 12.77 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.7987, allocations: 92.12 kB / 0.8204 GB, free: 12.68 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.7988, allocations: 20.59 kB / 0.8204 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.7988, allocations: 0 / 0.8204 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.799, allocations: 323.9 kB / 0.8208 GB, free: 12.33 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.799, allocations: 12 kB / 0.8208 GB, free: 12.32 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.09e-05/0.7991, allocations: 19.19 kB / 0.8208 GB, free: 12.3 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.7991, allocations: 12 kB / 0.8208 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7991, allocations: 0 / 0.8208 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001508/0.7993, allocations: 77.59 kB / 0.8209 GB, free: 12.21 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.7993, allocations: 4 kB / 0.8209 GB, free: 12.21 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7993, allocations: 0 / 0.8209 GB, free: 12.21 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.7993, allocations: 3.953 kB / 0.8209 GB, free: 12.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.7996, allocations: 42.33 kB / 0.8209 GB, free: 12.16 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.7996, allocations: 6.281 kB / 0.8209 GB, free: 12.16 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.7997, allocations: 30.47 kB / 0.821 GB, free: 12.13 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.7998, allocations: 0 / 0.821 GB, free: 12.13 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 (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 prepare postOptimizeDAE: time 0.0001019/0.7999, allocations: 110.2 kB / 0.8211 GB, free: 12.02 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.7999, allocations: 3.906 kB / 0.8211 GB, free: 12.02 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.8002, allocations: 85.77 kB / 0.8211 GB, free: 11.91 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.8002, allocations: 9.234 kB / 0.8212 GB, free: 11.91 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.8002, allocations: 7.984 kB / 0.8212 GB, free: 11.9 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.8002, allocations: 0 / 0.8212 GB, free: 11.9 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.8004, allocations: 189.5 kB / 0.8213 GB, free: 11.67 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.8004, allocations: 4 kB / 0.8213 GB, free: 11.66 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.8006, allocations: 38.91 kB / 0.8214 GB, free: 11.63 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.8007, allocations: 3.938 kB / 0.8214 GB, free: 11.62 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.8007, allocations: 4 kB / 0.8214 GB, free: 11.62 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.8007, allocations: 0 / 0.8214 GB, free: 11.62 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.8007, allocations: 4.453 kB / 0.8214 GB, free: 11.62 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.8009, allocations: 173.7 kB / 0.8216 GB, free: 11.43 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.801, allocations: 85.05 kB / 0.8216 GB, free: 11.33 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.801, allocations: 4 kB / 0.8216 GB, free: 11.33 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.8012, allocations: 30.09 kB / 0.8217 GB, free: 11.3 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.8013, allocations: 8.484 kB / 0.8217 GB, free: 11.29 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.8013, allocations: 7.953 kB / 0.8217 GB, free: 11.29 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 7.923e-05/0.8014, allocations: 107.3 kB / 0.8218 GB, free: 11.18 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1e-07/0.8014, allocations: 0 / 0.8218 GB, free: 11.18 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002438/0.8016, allocations: 24 kB / 0.8218 GB, free: 11.16 MB / 0.5574 GB 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 () * 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.0006132/0.8022, allocations: 0.7209 MB / 0.8225 GB, free: 10.42 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.8024, allocations: 44.09 kB / 0.8226 GB, free: 10.38 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8024, allocations: 0.5312 kB / 0.8226 GB, free: 10.38 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 6.224e-05/0.8025, allocations: 32.69 kB / 0.8226 GB, free: 10.35 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.8027, allocations: 4.938 kB / 0.8226 GB, free: 10.34 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.8032, allocations: 153.3 kB / 0.8227 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.8035, allocations: 0.6926 MB / 0.8234 GB, free: 9.438 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 5.588e-05/0.8036, allocations: 4.5 kB / 0.8234 GB, free: 9.434 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.8037, allocations: 31.42 kB / 0.8235 GB, free: 9.402 MB / 0.5574 GB Notification: Performance of SimCode: time 3.11e-07/0.8037, allocations: 0 / 0.8235 GB, free: 9.402 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.818, allocations: 1.992 MB / 0.8254 GB, free: 7.641 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.8183, allocations: 161.2 kB / 0.8256 GB, free: 7.414 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.466, allocations: 1.875 kB / 0.8256 GB, free: 7.414 MB / 0.5574 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain_res.mat does not exist to compare? outputFormat=mat