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.488/1.488, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 183.5 kB / 316.3 MB, free: 3.23 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.544/1.544, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0009168/0.000917, allocations: 86.47 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.902e-05/1.905e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2201, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7469/0.9671, allocations: 132.1 MB / 1.014 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.9675, allocations: 67.22 kB / 1.014 GB, free: 5.66 MB / 0.6355 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.006019/0.9735, allocations: 2.09 MB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.153e-06/0.9735, allocations: 3.938 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.9735, allocations: 4.188 kB / 1.016 GB, free: 3.879 MB / 0.6355 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.0003771/0.9739, allocations: 341.8 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.974, allocations: 8.031 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.974, allocations: 0 / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.9741, allocations: 171 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.9742, allocations: 3.938 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.9742, allocations: 0 / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.77e-05/0.9742, allocations: 8 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.471e-05/0.9743, allocations: 37.62 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.9743, allocations: 0 / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.9743, allocations: 3.938 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.9743, allocations: 0 / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.9745, allocations: 137.8 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.021e-05/0.9746, allocations: 26.27 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.9746, allocations: 12.36 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.9746, allocations: 4 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.9747, allocations: 57.62 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.9747, allocations: 0 / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001945/0.9749, allocations: 61.03 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.975, allocations: 51.41 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.995e-05/0.9751, allocations: 96.72 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.9751, allocations: 29.7 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.9751, allocations: 88.12 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.9752, allocations: 7.656 kB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.9752, allocations: 0 / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.9753, allocations: 310.8 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.9753, allocations: 4 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.263e-05/0.9754, allocations: 30.94 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.9754, allocations: 15.61 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9754, allocations: 3.953 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.236e-05/0.9755, allocations: 60.88 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.9755, allocations: 4 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.9755, allocations: 0 / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.9755, allocations: 7.938 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.9756, allocations: 7.984 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.9756, allocations: 8.094 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.9757, allocations: 3.906 kB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.9757, allocations: 4 kB / 1.018 GB, free: 2.133 MB / 0.6355 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 () * 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 8.491e-05/0.9758, allocations: 108.7 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.9758, allocations: 3.953 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.9758, allocations: 12.06 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.9758, allocations: 0 / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.9758, allocations: 0 / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.9758, allocations: 0 / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.9759, allocations: 138.2 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.976, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/0.976, allocations: 3.938 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.976, allocations: 7.938 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.976, allocations: 7.5 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.976, allocations: 2.562 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.976, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.9761, allocations: 76.19 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.9762, allocations: 88.94 kB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.9762, allocations: 11.95 kB / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.889e-05/0.9762, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.9763, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.9763, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.2e-05/0.9763, allocations: 79.28 kB / 1.018 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9763, allocations: 0 / 1.018 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002416/0.9766, allocations: 43.55 kB / 1.018 GB, free: 1.492 MB / 0.6355 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 () * 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.0003495/0.9769, allocations: 167.7 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.205e-05/0.977, allocations: 23.61 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.977, allocations: 0 / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.557e-05/0.9771, allocations: 15.12 kB / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.668e-05/0.9772, allocations: 8.438 kB / 1.019 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/0.9774, allocations: 74.75 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.9777, allocations: 0.6807 MB / 1.019 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.9777, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.834e-05/0.9777, allocations: 11.44 kB / 1.019 GB, free: 500 kB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.9777, allocations: 0 / 1.019 GB, free: 500 kB / 0.6355 GB Notification: Performance of Templates: time 0.003245/0.981, allocations: 1.169 MB / 1.02 GB, free: 15.34 MB / 0.6511 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