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.001463/0.001463, allocations: 173.7 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.001044/0.001044, allocations: 90.11 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09938/0.09938, allocations: 20.18 MB / 351.4 MB, free: 11 MB / 250.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 0.7841/0.7841, allocations: 127.6 MB / 0.5233 GB, free: 1.023 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.643e-05, allocations: 4 kB / 0.6111 GB, free: 7.707 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6582/0.6583, allocations: 82.87 MB / 0.692 GB, free: 3.074 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2099/0.8682, allocations: 118.7 MB / 0.8079 GB, free: 10.47 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/0.8686, allocations: 91.91 kB / 0.808 GB, free: 10.38 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01873/0.8874, allocations: 6.031 MB / 0.8139 GB, free: 4.34 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.815e-06/0.8874, allocations: 3.938 kB / 0.8139 GB, free: 4.336 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 2.124e-05/0.8875, allocations: 4 kB / 0.8139 GB, free: 4.332 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008498/0.8883, allocations: 438.2 kB / 0.8143 GB, free: 3.859 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.8884, allocations: 8.031 kB / 0.8144 GB, free: 3.852 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.693e-05/0.8885, allocations: 11.91 kB / 0.8144 GB, free: 3.84 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.8888, allocations: 194.8 kB / 0.8145 GB, free: 3.609 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/0.8889, allocations: 33.69 kB / 0.8146 GB, free: 3.57 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.889, allocations: 4 kB / 0.8146 GB, free: 3.566 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001698/0.8892, allocations: 47.98 kB / 0.8146 GB, free: 3.52 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.8893, allocations: 69.66 kB / 0.8147 GB, free: 3.445 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.8894, allocations: 4 kB / 0.8147 GB, free: 3.441 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.8894, allocations: 0 / 0.8147 GB, free: 3.441 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.8894, allocations: 0 / 0.8147 GB, free: 3.441 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000768/0.8902, allocations: 349.2 kB / 0.815 GB, free: 3.062 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.8903, allocations: 70.59 kB / 0.8151 GB, free: 2.984 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.8904, allocations: 32.95 kB / 0.8151 GB, free: 2.949 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.8905, allocations: 4.141 kB / 0.8151 GB, free: 2.945 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.8905, allocations: 42.67 kB / 0.8152 GB, free: 2.895 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=8): time 1.824e-06/0.8905, allocations: 7.875 kB / 0.8152 GB, free: 2.887 MB / 0.5418 GB Notification: Performance of matching and sorting (n=8): time 0.0003098/0.8908, allocations: 89.58 kB / 0.8153 GB, free: 2.793 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.8909, allocations: 59.36 kB / 0.8153 GB, free: 2.723 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.891, allocations: 113 kB / 0.8154 GB, free: 2.605 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.8911, allocations: 25.7 kB / 0.8155 GB, free: 2.574 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/0.8911, allocations: 100.2 kB / 0.8156 GB, free: 2.469 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.8912, allocations: 26.91 kB / 0.8156 GB, free: 2.445 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/0.8912, allocations: 0 / 0.8156 GB, free: 2.445 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.8914, allocations: 326.8 kB / 0.8159 GB, free: 2.117 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.8914, allocations: 27.98 kB / 0.8159 GB, free: 2.09 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.848e-05/0.8915, allocations: 28 kB / 0.8159 GB, free: 2.062 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.43e-05/0.8916, allocations: 27.98 kB / 0.816 GB, free: 2.035 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8916, allocations: 3.938 kB / 0.816 GB, free: 2.031 MB / 0.5418 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002062/0.8918, allocations: 105.6 kB / 0.8161 GB, free: 1.922 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.8918, allocations: 8 kB / 0.8161 GB, free: 1.914 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.8919, allocations: 0 / 0.8161 GB, free: 1.914 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.8919, allocations: 0 / 0.8161 GB, free: 1.914 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.8924, allocations: 91.86 kB / 0.8162 GB, free: 1.824 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.8924, allocations: 4 kB / 0.8162 GB, free: 1.82 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.8926, allocations: 27.86 kB / 0.8162 GB, free: 1.793 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.8926, allocations: 4 kB / 0.8162 GB, free: 1.789 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 () * 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.0001035/0.8927, allocations: 108.8 kB / 0.8163 GB, free: 1.676 MB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002312/0.8929, allocations: 97.64 kB / 0.8164 GB, free: 1.574 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.893, allocations: 7.906 kB / 0.8164 GB, free: 1.566 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.893, allocations: 16.62 kB / 0.8164 GB, free: 1.551 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.893, allocations: 3.281 kB / 0.8164 GB, free: 1.551 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.8931, allocations: 7.938 kB / 0.8164 GB, free: 1.543 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.8931, allocations: 0 / 0.8164 GB, free: 1.543 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.8933, allocations: 174.1 kB / 0.8166 GB, free: 1.336 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8933, allocations: 0 / 0.8166 GB, free: 1.336 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.8938, allocations: 91.86 kB / 0.8167 GB, free: 1.246 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.8938, allocations: 0 / 0.8167 GB, free: 1.246 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.8939, allocations: 4 kB / 0.8167 GB, free: 1.242 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8939, allocations: 0 / 0.8167 GB, free: 1.242 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8939, allocations: 0 / 0.8167 GB, free: 1.242 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.8942, allocations: 243.4 kB / 0.8169 GB, free: 0.9883 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.8943, allocations: 84.95 kB / 0.817 GB, free: 0.8867 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.8943, allocations: 7.984 kB / 0.817 GB, free: 0.8789 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.8945, allocations: 19.98 kB / 0.817 GB, free: 0.8594 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.8946, allocations: 11.98 kB / 0.817 GB, free: 0.8477 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.8946, allocations: 4.062 kB / 0.817 GB, free: 0.8438 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 7.054e-05/0.8947, allocations: 101.5 kB / 0.8171 GB, free: 0.7461 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8947, allocations: 0 / 0.8171 GB, free: 0.7461 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0003195/0.895, allocations: 35.94 kB / 0.8172 GB, free: 0.707 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 () * 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.0008726/0.8959, allocations: 0.7943 MB / 0.818 GB, free: 15.89 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.8961, allocations: 79.98 kB / 0.818 GB, free: 15.81 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8961, allocations: 0 / 0.818 GB, free: 15.81 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/0.8962, allocations: 39.98 kB / 0.8181 GB, free: 15.77 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.8964, allocations: 4 kB / 0.8181 GB, free: 15.77 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007468/0.8972, allocations: 213 kB / 0.8183 GB, free: 15.52 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.8976, allocations: 0.7002 MB / 0.819 GB, free: 14.79 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 8.922e-05/0.8977, allocations: 19.97 kB / 0.819 GB, free: 14.77 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.8978, allocations: 27.42 kB / 0.819 GB, free: 14.75 MB / 0.5574 GB Notification: Performance of SimCode: time 5.01e-07/0.8978, allocations: 0 / 0.819 GB, free: 14.75 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.9236, allocations: 1.982 MB / 0.8209 GB, free: 12.8 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/0.924, allocations: 150.9 kB / 0.8211 GB, free: 12.61 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.66, allocations: 4 kB / 0.8211 GB, free: 12.6 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