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.0108/0.0108, 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.629/1.629, allocations: 223.2 MB / 239 MB, free: 1.809 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.0009298/0.0009297, allocations: 98.11 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1016/0.1016, allocations: 20.31 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.144/1.144, allocations: 127.1 MB / 0.533 GB, free: 16.97 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004928, allocations: 12 kB / 0.6256 GB, free: 11.03 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1978, allocations: 82.86 MB / 0.7065 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5747/0.7726, allocations: 119.8 MB / 0.8235 GB, free: 5.445 MB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.773, allocations: 88.86 kB / 0.8235 GB, free: 5.391 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.009603/0.7826, allocations: 3.027 MB / 0.8265 GB, free: 2.754 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7826, allocations: 0 / 0.8265 GB, free: 2.754 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.7827, allocations: 4 kB / 0.8265 GB, free: 2.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006233/0.7833, allocations: 447.3 kB / 0.8269 GB, free: 2.273 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.7833, allocations: 8.031 kB / 0.8269 GB, free: 2.266 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.7834, allocations: 42.2 kB / 0.827 GB, free: 2.219 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.7834, allocations: 11.84 kB / 0.827 GB, free: 2.207 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.7836, allocations: 172.5 kB / 0.8272 GB, free: 2 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.7836, allocations: 0 / 0.8272 GB, free: 2 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.7836, allocations: 8.312 kB / 0.8272 GB, free: 1.996 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.784, allocations: 117.7 kB / 0.8273 GB, free: 1.887 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.784, allocations: 1.594 kB / 0.8273 GB, free: 1.887 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.784, allocations: 0 / 0.8273 GB, free: 1.887 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.784, allocations: 7.953 kB / 0.8273 GB, free: 1.879 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.7845, allocations: 156.2 kB / 0.8274 GB, free: 1.742 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.7848, allocations: 306.5 kB / 0.8277 GB, free: 1.422 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.7851, allocations: 94.05 kB / 0.8278 GB, free: 1.328 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.7851, allocations: 3.953 kB / 0.8278 GB, free: 1.324 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.7851, allocations: 37.73 kB / 0.8279 GB, free: 1.281 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.7851, allocations: 0 / 0.8279 GB, free: 1.281 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5): time 0.0007718/0.7859, allocations: 257.9 kB / 0.8281 GB, free: 1.047 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.786, allocations: 51.41 kB / 0.8282 GB, free: 0.9844 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.786, allocations: 124.1 kB / 0.8283 GB, free: 0.8633 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.7861, allocations: 29.7 kB / 0.8283 GB, free: 0.8281 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.7861, allocations: 104.2 kB / 0.8284 GB, free: 0.7305 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.7861, allocations: 19.67 kB / 0.8284 GB, free: 0.7109 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-06/0.7861, allocations: 3.688 kB / 0.8284 GB, free: 0.7109 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.7862, allocations: 322.3 kB / 0.8287 GB, free: 400 kB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.7864, allocations: 70.5 kB / 0.8288 GB, free: 336 kB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.7866, allocations: 80.55 kB / 0.8289 GB, free: 264 kB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.7869, allocations: 71.33 kB / 0.8289 GB, free: 200 kB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7869, allocations: 1.125 kB / 0.8289 GB, free: 200 kB / 0.5262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004641/0.7874, allocations: 188 kB / 0.8291 GB, free: 20 kB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.7874, allocations: 9.984 kB / 0.8291 GB, free: 12 kB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7874, allocations: 0 / 0.8291 GB, free: 12 kB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.7874, allocations: 0.8125 kB / 0.8291 GB, free: 12 kB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.7877, allocations: 40.48 kB / 0.8292 GB, free: 15.98 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.7877, allocations: 0 / 0.8292 GB, free: 15.98 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.7879, allocations: 31.97 kB / 0.8292 GB, free: 15.95 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.7879, allocations: 3.938 kB / 0.8292 GB, free: 15.94 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 () * Number of clocked 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.0001005/0.788, allocations: 117.8 kB / 0.8293 GB, free: 15.82 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.788, allocations: 7.906 kB / 0.8293 GB, free: 15.81 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005852/0.7886, allocations: 205.1 kB / 0.8295 GB, free: 15.63 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.7886, allocations: 4.562 kB / 0.8295 GB, free: 15.63 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7886, allocations: 0 / 0.8295 GB, free: 15.63 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7886, allocations: 0 / 0.8295 GB, free: 15.63 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.7889, allocations: 187.8 kB / 0.8297 GB, free: 15.41 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7889, allocations: 5.062 kB / 0.8297 GB, free: 15.41 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.7891, allocations: 39.53 kB / 0.8297 GB, free: 15.37 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7891, allocations: 4.594 kB / 0.8298 GB, free: 15.37 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.7891, allocations: 3.984 kB / 0.8298 GB, free: 15.36 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.7891, allocations: 3.953 kB / 0.8298 GB, free: 15.36 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.7891, allocations: 0 / 0.8298 GB, free: 15.36 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.7897, allocations: 284.5 kB / 0.83 GB, free: 15.09 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.7897, allocations: 85.02 kB / 0.8301 GB, free: 14.98 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.7897, allocations: 7.984 kB / 0.8301 GB, free: 14.98 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.7899, allocations: 34.23 kB / 0.8302 GB, free: 14.95 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.79, allocations: 11.94 kB / 0.8302 GB, free: 14.94 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.79, allocations: 3.375 kB / 0.8302 GB, free: 14.94 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.7901, allocations: 97.95 kB / 0.8303 GB, free: 14.85 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7901, allocations: 4 kB / 0.8303 GB, free: 14.84 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002657/0.7904, allocations: 23.94 kB / 0.8303 GB, free: 14.82 MB / 0.5418 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 () * 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.000968/0.7913, allocations: 0.8279 MB / 0.8311 GB, free: 13.98 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0005345/0.7919, allocations: 157.5 kB / 0.8312 GB, free: 13.85 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7919, allocations: 4.75 kB / 0.8312 GB, free: 13.84 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.7922, allocations: 89.19 kB / 0.8313 GB, free: 13.77 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.7924, allocations: 8.328 kB / 0.8313 GB, free: 13.76 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000613/0.793, allocations: 251.1 kB / 0.8316 GB, free: 13.49 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.7933, allocations: 0.6965 MB / 0.8323 GB, free: 12.77 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 5.312e-05/0.7934, allocations: 4 kB / 0.8323 GB, free: 12.77 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.7934, allocations: 22.62 kB / 0.8323 GB, free: 12.76 MB / 0.5418 GB Notification: Performance of SimCode: time 5.62e-07/0.7934, allocations: 0 / 0.8323 GB, free: 12.76 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.8066, allocations: 1.983 MB / 0.8342 GB, free: 11.02 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.8069, allocations: 183.1 kB / 0.8344 GB, free: 10.79 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.448, allocations: 0 / 0.8344 GB, free: 10.79 MB / 0.5418 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