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.002911/0.002911, 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.539/1.539, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0009344/0.0009343, allocations: 86.83 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.1061/0.1061, allocations: 20.17 MB / 356.7 MB, free: 5.902 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.323/1.323, allocations: 127.5 MB / 0.5284 GB, free: 15.89 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 8.547e-05/8.562e-05, allocations: 4 kB / 0.6181 GB, free: 3.914 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5855/0.5857, allocations: 82.84 MB / 0.699 GB, free: 32.19 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2103/0.7961, allocations: 119.3 MB / 0.8155 GB, free: 1.863 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/0.7965, allocations: 87.92 kB / 0.8156 GB, free: 1.777 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01916/0.8157, allocations: 6.053 MB / 0.8215 GB, free: 11.75 MB / 0.5574 GB Notification: Performance of FrontEnd: time 5.67e-06/0.8158, allocations: 4 kB / 0.8215 GB, free: 11.75 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 2.214e-05/0.8158, allocations: 0.5938 kB / 0.8215 GB, free: 11.75 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000849/0.8167, allocations: 434.3 kB / 0.8219 GB, free: 11.28 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.8168, allocations: 8.75 kB / 0.8219 GB, free: 11.27 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.134e-05/0.8169, allocations: 34.56 kB / 0.822 GB, free: 11.23 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.865e-05/0.817, allocations: 12.36 kB / 0.822 GB, free: 11.22 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.8173, allocations: 201.6 kB / 0.8222 GB, free: 10.98 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.478e-05/0.8174, allocations: 33.7 kB / 0.8222 GB, free: 10.95 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.8174, allocations: 8 kB / 0.8222 GB, free: 10.94 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.8177, allocations: 78.64 kB / 0.8223 GB, free: 10.86 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.8177, allocations: 0 / 0.8223 GB, free: 10.86 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.8178, allocations: 2.344 kB / 0.8223 GB, free: 10.86 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.8178, allocations: 1.656 kB / 0.8223 GB, free: 10.86 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.818, allocations: 59.91 kB / 0.8224 GB, free: 10.8 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008962/0.8189, allocations: 372.6 kB / 0.8227 GB, free: 10.39 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.8191, allocations: 75.67 kB / 0.8228 GB, free: 10.3 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.8192, allocations: 36.8 kB / 0.8228 GB, free: 10.27 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.8192, allocations: 5.109 kB / 0.8228 GB, free: 10.26 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.8193, allocations: 35.88 kB / 0.8229 GB, free: 10.22 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=8): time 2.204e-06/0.8193, allocations: 4 kB / 0.8229 GB, free: 10.21 MB / 0.5574 GB Notification: Performance of matching and sorting (n=8): time 0.0003323/0.8196, allocations: 101.6 kB / 0.823 GB, free: 10.11 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.8197, allocations: 57.23 kB / 0.823 GB, free: 10.04 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.8199, allocations: 114.4 kB / 0.8231 GB, free: 9.926 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.8199, allocations: 25.7 kB / 0.8231 GB, free: 9.895 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.82, allocations: 103.8 kB / 0.8232 GB, free: 9.789 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.8201, allocations: 27.61 kB / 0.8233 GB, free: 9.762 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.8201, allocations: 0 / 0.8233 GB, free: 9.762 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.8203, allocations: 318.8 kB / 0.8236 GB, free: 9.441 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.8204, allocations: 31.98 kB / 0.8236 GB, free: 9.41 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.8205, allocations: 31.94 kB / 0.8236 GB, free: 9.379 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.841e-05/0.8206, allocations: 39.55 kB / 0.8237 GB, free: 9.344 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8206, allocations: 0 / 0.8237 GB, free: 9.344 MB / 0.5574 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002473/0.8208, allocations: 113.5 kB / 0.8238 GB, free: 9.227 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.8209, allocations: 4.656 kB / 0.8238 GB, free: 9.223 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.8209, allocations: 0.75 kB / 0.8238 GB, free: 9.223 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.8209, allocations: 3.953 kB / 0.8238 GB, free: 9.219 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005352/0.8214, allocations: 88.33 kB / 0.8239 GB, free: 9.137 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.8215, allocations: 0 / 0.8239 GB, free: 9.137 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.8216, allocations: 36.23 kB / 0.8239 GB, free: 9.105 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.8217, allocations: 0 / 0.8239 GB, free: 9.105 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 (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.0001314/0.8218, allocations: 109 kB / 0.824 GB, free: 8.992 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.8218, allocations: 8.5 kB / 0.824 GB, free: 8.984 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.8219, allocations: 12.62 kB / 0.824 GB, free: 8.973 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.8219, allocations: 5.5 kB / 0.824 GB, free: 8.969 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.8219, allocations: 11.88 kB / 0.824 GB, free: 8.957 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.822, allocations: 0 / 0.824 GB, free: 8.957 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.8223, allocations: 193.6 kB / 0.8242 GB, free: 8.719 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8223, allocations: 4.594 kB / 0.8242 GB, free: 8.715 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.8228, allocations: 87.77 kB / 0.8243 GB, free: 8.633 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.8228, allocations: 0.9375 kB / 0.8243 GB, free: 8.633 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.8229, allocations: 10.61 kB / 0.8243 GB, free: 8.625 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.8229, allocations: 0.5312 kB / 0.8243 GB, free: 8.625 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8229, allocations: 1.125 kB / 0.8243 GB, free: 8.625 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.8233, allocations: 247.8 kB / 0.8246 GB, free: 8.371 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 7.711e-05/0.8234, allocations: 81.02 kB / 0.8246 GB, free: 8.273 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.8235, allocations: 13.47 kB / 0.8247 GB, free: 8.262 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.8236, allocations: 18.61 kB / 0.8247 GB, free: 8.246 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.8237, allocations: 7.984 kB / 0.8247 GB, free: 8.238 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.8237, allocations: 4 kB / 0.8247 GB, free: 8.234 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001051/0.8238, allocations: 104.9 kB / 0.8248 GB, free: 8.133 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8238, allocations: 0 / 0.8248 GB, free: 8.133 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003289/0.8242, allocations: 39.94 kB / 0.8248 GB, free: 8.094 MB / 0.5574 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 () * 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.001008/0.8252, allocations: 0.8021 MB / 0.8256 GB, free: 7.266 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.8254, allocations: 77.23 kB / 0.8257 GB, free: 7.191 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.8254, allocations: 0 / 0.8257 GB, free: 7.191 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 9.07e-05/0.8255, allocations: 47.92 kB / 0.8257 GB, free: 7.145 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.8258, allocations: 5.25 kB / 0.8257 GB, free: 7.141 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007048/0.8265, allocations: 212.8 kB / 0.8259 GB, free: 6.902 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.827, allocations: 0.6965 MB / 0.8266 GB, free: 6.18 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 9.468e-05/0.8271, allocations: 19.81 kB / 0.8266 GB, free: 6.164 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.8271, allocations: 31.36 kB / 0.8267 GB, free: 6.133 MB / 0.5574 GB Notification: Performance of SimCode: time 7.02e-07/0.8272, allocations: 0 / 0.8267 GB, free: 6.133 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.8456, allocations: 2.356 MB / 0.829 GB, free: 4.023 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.846, allocations: 159.6 kB / 0.8291 GB, free: 3.801 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.653, allocations: 0.875 kB / 0.8291 GB, free: 3.801 MB / 0.5574 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