Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 405.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 177 kB / 498.1 MB, free: 5.773 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008668/0.000867, allocations: 94.45 kB / 0.9346 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.000352, allocations: 10.44 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2607, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1843/0.4451, allocations: 149.5 MB / 1.369 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.4453, allocations: 71.97 kB / 1.369 GB, free: 12.5 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/weibullVariableGeneration.mo:12:5-12:98:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.006335/0.4517, allocations: 2.115 MB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4517, allocations: 0 / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.4518, allocations: 0 / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005129/0.4523, allocations: 363.2 kB / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.4523, allocations: 8.031 kB / 1.371 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.916e-05/0.4524, allocations: 34.56 kB / 1.371 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.4525, allocations: 11.94 kB / 1.371 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.4526, allocations: 159.1 kB / 1.372 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4527, allocations: 0 / 1.372 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.4527, allocations: 4 kB / 1.372 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.4528, allocations: 37.69 kB / 1.372 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.4528, allocations: 0 / 1.372 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.4529, allocations: 11.94 kB / 1.372 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4529, allocations: 0 / 1.372 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.69e-05/0.4529, allocations: 7.984 kB / 1.372 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.4533, allocations: 256.9 kB / 1.372 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.541e-05/0.4534, allocations: 26.67 kB / 1.372 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.4535, allocations: 11.98 kB / 1.372 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.4536, allocations: 55.34 kB / 1.372 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.4536, allocations: 0 / 1.372 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.0002144/0.4538, allocations: 77.58 kB / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.4539, allocations: 55.36 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.009e-05/0.4539, allocations: 96.98 kB / 1.372 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.454, allocations: 25.7 kB / 1.372 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.454, allocations: 84.14 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.454, allocations: 23.73 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.4541, allocations: 0 / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.4542, allocations: 310.8 kB / 1.373 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.4542, allocations: 15.94 kB / 1.373 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-05/0.4543, allocations: 39.41 kB / 1.373 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.4543, allocations: 12 kB / 1.373 GB, free: 8.457 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.4543, allocations: 4 kB / 1.373 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001101/0.4544, allocations: 69.61 kB / 1.373 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4545, allocations: 4 kB / 1.373 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4545, allocations: 0 / 1.373 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4545, allocations: 4 kB / 1.373 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.4546, allocations: 12.19 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4546, allocations: 0 / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/0.4546, allocations: 11.94 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-06/0.4546, allocations: 8.062 kB / 1.373 GB, free: 8.34 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.962e-05/0.4547, allocations: 119.3 kB / 1.373 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.4548, allocations: 3.906 kB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.4548, allocations: 7.562 kB / 1.373 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4548, allocations: 4 kB / 1.373 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4548, allocations: 0 / 1.373 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4548, allocations: 0 / 1.373 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.4551, allocations: 302.5 kB / 1.373 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4551, allocations: 4 kB / 1.373 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-05/0.4551, allocations: 0 / 1.373 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.4551, allocations: 4 kB / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.4551, allocations: 0 / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4552, allocations: 3.938 kB / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4552, allocations: 3.953 kB / 1.373 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.4553, allocations: 163.5 kB / 1.373 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.4554, allocations: 81.05 kB / 1.373 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.4554, allocations: 8 kB / 1.373 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.4554, allocations: 0 / 1.373 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.4555, allocations: 7.984 kB / 1.373 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4555, allocations: 7.953 kB / 1.373 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.318e-05/0.4555, allocations: 75.28 kB / 1.374 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4555, allocations: 0 / 1.374 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003148/0.4559, allocations: 43.98 kB / 1.374 GB, free: 7.418 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000871/0.4567, allocations: 0.7856 MB / 1.374 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.4569, allocations: 31.92 kB / 1.374 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4569, allocations: 0 / 1.374 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.4569, allocations: 19.94 kB / 1.374 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.4571, allocations: 4.125 kB / 1.374 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008016/0.4579, allocations: 0.8022 MB / 1.375 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.4582, allocations: 0.6809 MB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.553e-05/0.4582, allocations: 0 / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.4583, allocations: 15.42 kB / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of SimCode: time 2.124e-06/0.4583, allocations: 0 / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.4719, allocations: 1.894 MB / 1.378 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/0.4722, allocations: 234.4 kB / 1.378 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.022, allocations: 0 / 1.378 GB, free: 3.012 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat does not exist to compare? outputFormat=mat