Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.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.testRandomGenerators2,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2",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.008643/0.008643, allocations: 171.5 kB / 15.12 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.649/1.649, allocations: 223.2 MB / 239 MB, free: 1.785 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.001041/0.001041, allocations: 96.58 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1202/0.1202, allocations: 20.32 MB / 361.6 MB, free: 6.637 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.238/1.238, allocations: 127.1 MB / 0.533 GB, free: 16.89 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005831/0.0005834, allocations: 12 kB / 0.6256 GB, free: 11.05 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2629, allocations: 82.87 MB / 0.7065 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7068/0.9698, allocations: 119.4 MB / 0.8231 GB, free: 5.754 MB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.9701, allocations: 88.06 kB / 0.8232 GB, free: 5.703 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.01653/0.9867, allocations: 6.08 MB / 0.8291 GB, free: 0.6016 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.448e-06/0.9868, allocations: 0 / 0.8291 GB, free: 0.6016 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.417e-05/0.9868, allocations: 0 / 0.8291 GB, free: 0.6016 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007164/0.9875, allocations: 452.3 kB / 0.8295 GB, free: 128 kB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.9876, allocations: 8.031 kB / 0.8295 GB, free: 120 kB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.727e-05/0.9877, allocations: 38.31 kB / 0.8296 GB, free: 76 kB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.9877, allocations: 14.86 kB / 0.8296 GB, free: 64 kB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.9881, allocations: 186.7 kB / 0.8298 GB, free: 15.84 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.009e-05/0.9882, allocations: 41.39 kB / 0.8298 GB, free: 15.8 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.9882, allocations: 6.875 kB / 0.8298 GB, free: 15.8 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.9886, allocations: 115.2 kB / 0.8299 GB, free: 15.7 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.9886, allocations: 0 / 0.8299 GB, free: 15.7 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.9887, allocations: 5.109 kB / 0.8299 GB, free: 15.7 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.9887, allocations: 7.938 kB / 0.8299 GB, free: 15.69 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/0.9891, allocations: 120.4 kB / 0.8301 GB, free: 15.59 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.99, allocations: 381.7 kB / 0.8304 GB, free: 15.2 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.9903, allocations: 115.8 kB / 0.8305 GB, free: 15.1 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.9903, allocations: 4.094 kB / 0.8305 GB, free: 15.1 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.9904, allocations: 43.05 kB / 0.8306 GB, free: 15.05 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=8): time 1.813e-06/0.9904, allocations: 0 / 0.8306 GB, free: 15.05 MB / 0.5418 GB Notification: Performance of matching and sorting (n=8): time 0.0007919/0.9912, allocations: 251.6 kB / 0.8308 GB, free: 14.84 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.9912, allocations: 51.91 kB / 0.8309 GB, free: 14.78 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.9914, allocations: 114.7 kB / 0.831 GB, free: 14.67 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.9914, allocations: 25.7 kB / 0.831 GB, free: 14.64 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.9915, allocations: 99.28 kB / 0.8311 GB, free: 14.54 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.9915, allocations: 27.58 kB / 0.8311 GB, free: 14.52 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/0.9915, allocations: 7.844 kB / 0.8311 GB, free: 14.52 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.9917, allocations: 318.7 kB / 0.8314 GB, free: 14.2 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.9919, allocations: 65.86 kB / 0.8315 GB, free: 14.14 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.9921, allocations: 79.3 kB / 0.8316 GB, free: 14.08 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.9923, allocations: 80.12 kB / 0.8316 GB, free: 14.02 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9923, allocations: 0 / 0.8316 GB, free: 14.02 MB / 0.5418 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004701/0.9928, allocations: 194 kB / 0.8318 GB, free: 13.85 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.9928, allocations: 4.938 kB / 0.8318 GB, free: 13.85 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.9929, allocations: 3.953 kB / 0.8318 GB, free: 13.84 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.9929, allocations: 4 kB / 0.8318 GB, free: 13.84 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/0.9934, allocations: 87.92 kB / 0.8319 GB, free: 13.75 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.9934, allocations: 2.266 kB / 0.8319 GB, free: 13.75 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.9935, allocations: 26.95 kB / 0.832 GB, free: 13.73 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.9936, allocations: 8.547 kB / 0.832 GB, free: 13.72 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 (10): * Single equations (assignments): 10 * 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.0001125/0.9937, allocations: 117.2 kB / 0.8321 GB, free: 13.61 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.9937, allocations: 7.75 kB / 0.8321 GB, free: 13.6 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.9938, allocations: 16.25 kB / 0.8321 GB, free: 13.59 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.9938, allocations: 3.953 kB / 0.8321 GB, free: 13.59 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.9938, allocations: 0 / 0.8321 GB, free: 13.59 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.9938, allocations: 0.5625 kB / 0.8321 GB, free: 13.59 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.9941, allocations: 207.4 kB / 0.8323 GB, free: 13.35 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9941, allocations: 0 / 0.8323 GB, free: 13.35 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.9946, allocations: 88.98 kB / 0.8324 GB, free: 13.27 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.9946, allocations: 0 / 0.8324 GB, free: 13.27 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.9946, allocations: 4 kB / 0.8324 GB, free: 13.27 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.9946, allocations: 0.5625 kB / 0.8324 GB, free: 13.27 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9946, allocations: 3.953 kB / 0.8324 GB, free: 13.26 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007534/0.9954, allocations: 363.6 kB / 0.8327 GB, free: 12.93 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.9955, allocations: 89.11 kB / 0.8328 GB, free: 12.83 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.9955, allocations: 5.25 kB / 0.8328 GB, free: 12.83 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.9956, allocations: 15.98 kB / 0.8328 GB, free: 12.81 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.9957, allocations: 19.56 kB / 0.8329 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.9957, allocations: 10.05 kB / 0.8329 GB, free: 12.79 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 6.681e-05/0.9958, allocations: 97.17 kB / 0.833 GB, free: 12.7 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9958, allocations: 0 / 0.833 GB, free: 12.7 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0003236/0.9962, allocations: 38.75 kB / 0.833 GB, free: 12.66 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (noise.y_,noise.y) * 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 (8): * Single equations (assignments): 8 * 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.001234/0.9974, allocations: 0.9202 MB / 0.8339 GB, free: 11.77 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0004641/0.9979, allocations: 160.2 kB / 0.8341 GB, free: 11.63 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9979, allocations: 0 / 0.8341 GB, free: 11.63 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.9981, allocations: 93.3 kB / 0.8341 GB, free: 11.55 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.9984, allocations: 8.016 kB / 0.8342 GB, free: 11.55 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/1, allocations: 0.7951 MB / 0.8349 GB, free: 10.8 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/1, allocations: 0.6965 MB / 0.8356 GB, free: 10.07 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 8.789e-05/1.001, allocations: 16.77 kB / 0.8356 GB, free: 10.06 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/1.001, allocations: 33.98 kB / 0.8357 GB, free: 10.04 MB / 0.5418 GB Notification: Performance of SimCode: time 3.01e-07/1.001, allocations: 0 / 0.8357 GB, free: 10.04 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/1.016, allocations: 2.339 MB / 0.8379 GB, free: 7.949 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/1.017, allocations: 184.2 kB / 0.8381 GB, free: 7.711 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.831, allocations: 0 / 0.8381 GB, free: 7.711 MB / 0.5418 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat does not exist to compare? outputFormat=mat