Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.369/1.369, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 179.4 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 0.5775 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008163/0.0008166, allocations: 84 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003209, allocations: 12.41 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1955, allocations: 106.3 MB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.3617, allocations: 131.9 MB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.362, allocations: 75.95 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.00587/0.3678, allocations: 2.099 MB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3679, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3679, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 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.0003594/0.3682, allocations: 351.2 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3683, allocations: 12.03 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.3683, allocations: 0 / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.3684, allocations: 167 kB / 1.032 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.3685, allocations: 4 kB / 1.032 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3685, allocations: 4 kB / 1.032 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.3686, allocations: 37.62 kB / 1.032 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3686, allocations: 8 kB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3687, allocations: 0 / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3687, allocations: 0 / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.739e-05/0.3687, allocations: 7.984 kB / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.3689, allocations: 157.7 kB / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.345e-05/0.3689, allocations: 23.39 kB / 1.032 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.369, allocations: 4 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.3691, allocations: 63.42 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.3691, allocations: 0 / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0001842/0.3693, allocations: 69.58 kB / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.3693, allocations: 51.41 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.3694, allocations: 93.19 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3694, allocations: 25.7 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.3695, allocations: 88.12 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.3695, allocations: 15.84 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.3695, allocations: 0 / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3697, allocations: 322.8 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.3697, allocations: 7.938 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.371e-05/0.3698, allocations: 35.42 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.713e-05/0.3698, allocations: 20.17 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3698, allocations: 0 / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001018/0.3699, allocations: 61.62 kB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.37, allocations: 11.94 kB / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.37, allocations: 0 / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.37, allocations: 0 / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.3701, allocations: 15.92 kB / 1.033 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3701, allocations: 0 / 1.033 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.058e-05/0.3701, allocations: 7.906 kB / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.3701, allocations: 0 / 1.033 GB, free: 8.199 MB / 0.6823 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.248e-05/0.3702, allocations: 125.8 kB / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-06/0.3703, allocations: 0 / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.3703, allocations: 11.5 kB / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3703, allocations: 0 / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3703, allocations: 0 / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3703, allocations: 3.984 kB / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.3705, allocations: 157.6 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3705, allocations: 0 / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.3705, allocations: 4 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3705, allocations: 4 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3705, allocations: 0 / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3705, allocations: 3.938 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3705, allocations: 0 / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.3707, allocations: 85.11 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.3707, allocations: 84.97 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.3708, allocations: 0 / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.3708, allocations: 4 kB / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.3708, allocations: 8 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3708, allocations: 3.984 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.3709, allocations: 79.28 kB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.724e-06/0.3709, allocations: 0 / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002877/0.3712, allocations: 39.94 kB / 1.033 GB, free: 7.496 MB / 0.6823 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003854/0.3716, allocations: 179.7 kB / 1.033 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.286e-05/0.3717, allocations: 27.92 kB / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3717, allocations: 0 / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.3717, allocations: 15.94 kB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.623e-05/0.3718, allocations: 0 / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.3721, allocations: 112.7 kB / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.3723, allocations: 0.6772 MB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.286e-05/0.3724, allocations: 11.98 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.3724, allocations: 7.438 kB / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of SimCode: time 3.4e-07/0.3724, allocations: 0 / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of Templates: time 0.003204/0.3756, allocations: 1.154 MB / 1.035 GB, free: 5.277 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:lambda,seed,t0,time,y