Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.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.TestSlidingmean,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean",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.008632/0.008632, allocations: 172.4 kB / 15.12 MB, free: 5.969 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.619/1.619, allocations: 223.2 MB / 239 MB, free: 1.762 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.001081/0.001081, allocations: 96.72 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.0965/0.0965, allocations: 20.32 MB / 361.6 MB, free: 6.613 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.178/1.178, allocations: 127.1 MB / 0.533 GB, free: 16.97 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004696, allocations: 12 kB / 0.6256 GB, free: 10.97 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 82.86 MB / 0.7065 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5784/0.7826, allocations: 120.1 MB / 0.8237 GB, free: 4.984 MB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.783, allocations: 84.62 kB / 0.8238 GB, free: 4.934 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.01744/0.8004, allocations: 6.446 MB / 0.8301 GB, free: 15.53 MB / 0.5418 GB Notification: Performance of FrontEnd: time 3.717e-06/0.8005, allocations: 0 / 0.8301 GB, free: 15.53 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.8005, allocations: 4 kB / 0.8301 GB, free: 15.52 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007903/0.8013, allocations: 444.3 kB / 0.8305 GB, free: 15.05 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.8014, allocations: 15.97 kB / 0.8306 GB, free: 15.04 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.221e-05/0.8015, allocations: 34.53 kB / 0.8306 GB, free: 15 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.8015, allocations: 19.42 kB / 0.8306 GB, free: 14.98 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.8018, allocations: 194.6 kB / 0.8308 GB, free: 14.76 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.781e-05/0.8019, allocations: 38.39 kB / 0.8308 GB, free: 14.72 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.802, allocations: 4.688 kB / 0.8308 GB, free: 14.72 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.8023, allocations: 112.6 kB / 0.8309 GB, free: 14.62 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.8023, allocations: 4.531 kB / 0.8309 GB, free: 14.62 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.8024, allocations: 6.656 kB / 0.831 GB, free: 14.62 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.8024, allocations: 5.078 kB / 0.831 GB, free: 14.61 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.8027, allocations: 96.17 kB / 0.831 GB, free: 14.54 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008144/0.8035, allocations: 394.3 kB / 0.8314 GB, free: 14.15 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.8038, allocations: 130.1 kB / 0.8315 GB, free: 14.04 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.8038, allocations: 0 / 0.8315 GB, free: 14.04 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.8039, allocations: 44.48 kB / 0.8316 GB, free: 14 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.8039, allocations: 0 / 0.8316 GB, free: 14 MB / 0.5418 GB Notification: Performance of matching and sorting (n=12): time 0.0005836/0.8045, allocations: 224.5 kB / 0.8318 GB, free: 13.82 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.8045, allocations: 51.41 kB / 0.8319 GB, free: 13.75 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.8047, allocations: 117.4 kB / 0.832 GB, free: 13.64 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.8047, allocations: 29.61 kB / 0.832 GB, free: 13.61 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.8048, allocations: 99.69 kB / 0.8321 GB, free: 13.51 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.8048, allocations: 46.45 kB / 0.8321 GB, free: 13.47 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-06/0.8048, allocations: 4.5 kB / 0.8321 GB, free: 13.47 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.805, allocations: 316 kB / 0.8324 GB, free: 13.16 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.8051, allocations: 66.52 kB / 0.8325 GB, free: 13.11 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.8053, allocations: 56.22 kB / 0.8326 GB, free: 13.07 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.8055, allocations: 65.05 kB / 0.8326 GB, free: 13.03 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.8055, allocations: 4.656 kB / 0.8326 GB, free: 13.02 MB / 0.5418 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003798/0.8059, allocations: 184.8 kB / 0.8328 GB, free: 12.88 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.8059, allocations: 7.953 kB / 0.8328 GB, free: 12.87 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8059, allocations: 3.938 kB / 0.8328 GB, free: 12.87 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.8059, allocations: 4.656 kB / 0.8328 GB, free: 12.86 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.8064, allocations: 89.67 kB / 0.8329 GB, free: 12.78 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8064, allocations: 0 / 0.8329 GB, free: 12.78 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.04e-05/0.8065, allocations: 15.69 kB / 0.8329 GB, free: 12.77 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.8066, allocations: 6.438 kB / 0.8329 GB, free: 12.77 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 (16): * Single equations (assignments): 16 * 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.0001143/0.8067, allocations: 121.7 kB / 0.833 GB, free: 12.64 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.8067, allocations: 11.84 kB / 0.833 GB, free: 12.63 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.8073, allocations: 208.3 kB / 0.8332 GB, free: 12.47 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.8073, allocations: 4 kB / 0.8333 GB, free: 12.47 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.8073, allocations: 0 / 0.8333 GB, free: 12.47 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.8073, allocations: 3.984 kB / 0.8333 GB, free: 12.46 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007324/0.808, allocations: 0.4928 MB / 0.8337 GB, free: 11.98 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.8081, allocations: 0 / 0.8337 GB, free: 11.98 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.8086, allocations: 91.91 kB / 0.8338 GB, free: 11.89 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.8086, allocations: 0 / 0.8338 GB, free: 11.89 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.8086, allocations: 7.75 kB / 0.8338 GB, free: 11.88 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.8086, allocations: 3.938 kB / 0.8338 GB, free: 11.88 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8086, allocations: 0 / 0.8338 GB, free: 11.88 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006167/0.8093, allocations: 373.6 kB / 0.8342 GB, free: 11.55 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.8093, allocations: 89 kB / 0.8343 GB, free: 11.45 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.8094, allocations: 11.98 kB / 0.8343 GB, free: 11.43 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.8095, allocations: 11.5 kB / 0.8343 GB, free: 11.43 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.8096, allocations: 7.984 kB / 0.8343 GB, free: 11.42 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.8096, allocations: 11.05 kB / 0.8343 GB, free: 11.41 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 7.787e-05/0.8097, allocations: 100.5 kB / 0.8344 GB, free: 11.32 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8097, allocations: 0 / 0.8344 GB, free: 11.32 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0003656/0.81, allocations: 47.88 kB / 0.8345 GB, free: 11.28 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (noise.y_,noise.y,slidingMean.integral) * 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 (15): * Single equations (assignments): 15 * 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.001402/0.8114, allocations: 1.076 MB / 0.8355 GB, free: 10.27 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0003873/0.8118, allocations: 148.1 kB / 0.8357 GB, free: 10.16 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8119, allocations: 0 / 0.8357 GB, free: 10.16 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.812, allocations: 77.78 kB / 0.8357 GB, free: 10.09 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.8122, allocations: 7 kB / 0.8357 GB, free: 10.09 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.8138, allocations: 0.7003 MB / 0.8364 GB, free: 9.406 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.8141, allocations: 0.7129 MB / 0.8371 GB, free: 8.668 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.8143, allocations: 25.47 kB / 0.8371 GB, free: 8.645 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.8143, allocations: 37.17 kB / 0.8372 GB, free: 8.629 MB / 0.5418 GB Notification: Performance of SimCode: time 2.11e-07/0.8143, allocations: 0 / 0.8372 GB, free: 8.629 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.8298, allocations: 2.717 MB / 0.8398 GB, free: 6.164 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/0.8302, allocations: 218.2 kB / 0.84 GB, free: 5.918 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.537, allocations: 0 / 0.84 GB, free: 5.918 MB / 0.5418 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean_res.mat does not exist to compare? outputFormat=mat