Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json 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/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.611/2.611, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 12 kB / 0.8707 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6746/0.675, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001306/0.6763, allocations: 0.9254 MB / 1.022 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007194/0.6771, allocations: 386.9 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.6771, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.6771, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.76e-05/0.6772, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.6776, allocations: 71.78 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.408e-05/0.6777, allocations: 7.938 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.6778, allocations: 0 / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.047e-05/0.6778, allocations: 11.98 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.935e-05/0.6778, allocations: 11.98 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.6778, allocations: 0 / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.678, allocations: 67.88 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.6781, allocations: 7.984 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.6781, allocations: 33.69 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.6782, allocations: 55.86 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.6783, allocations: 0 / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6783, allocations: 0 / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.6783, allocations: 0 / 1.022 GB, free: 15.53 MB / 0.7794 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.0004585/0.6787, allocations: 347.3 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.6788, allocations: 11.98 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.6788, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.679, allocations: 169 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.679, allocations: 0 / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.679, allocations: 4 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.6792, allocations: 45.62 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.6792, allocations: 0 / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.6792, allocations: 0 / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6792, allocations: 3.938 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.933e-05/0.6792, allocations: 8 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.6794, allocations: 153.7 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.275e-05/0.6795, allocations: 34.55 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.6795, allocations: 0 / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.6797, allocations: 55.45 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.654e-06/0.6797, allocations: 0 / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002021/0.6799, allocations: 73.58 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.68, allocations: 55.34 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/0.6801, allocations: 101.8 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.6801, allocations: 33.64 kB / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.6802, allocations: 80.14 kB / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.6802, allocations: 11.84 kB / 1.023 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.6802, allocations: 0 / 1.023 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6803, allocations: 318.8 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.6804, allocations: 11.98 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.858e-05/0.6804, allocations: 27.44 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.6804, allocations: 15.98 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6805, allocations: 0 / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000108/0.6806, allocations: 69.94 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.6806, allocations: 8.094 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.6806, allocations: 7.953 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.6806, allocations: 0 / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.6807, allocations: 8 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6807, allocations: 0 / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.6808, allocations: 3.953 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.6808, allocations: 11.97 kB / 1.024 GB, free: 13.66 MB / 0.7794 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.277e-05/0.6809, allocations: 113.8 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.6809, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.6809, allocations: 7.5 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6809, allocations: 3.953 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.6809, allocations: 0 / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.681, allocations: 7.938 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.6811, allocations: 157.7 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6811, allocations: 0 / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.6811, allocations: 0 / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6811, allocations: 0 / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.6811, allocations: 3.984 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6812, allocations: 4 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6812, allocations: 11.95 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.6813, allocations: 77.12 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.6813, allocations: 85 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.6814, allocations: 7.938 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.199e-05/0.6814, allocations: 0 / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.6814, allocations: 7.953 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.6814, allocations: 7.938 kB / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.291e-05/0.6815, allocations: 79.27 kB / 1.024 GB, free: 13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6815, allocations: 4 kB / 1.024 GB, free: 13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002783/0.6818, allocations: 28 kB / 1.025 GB, free: 12.97 MB / 0.7794 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.0003963/0.6822, allocations: 158.2 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.6823, allocations: 23.98 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.6823, allocations: 4.188 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.194e-05/0.6823, allocations: 15.94 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.789e-05/0.6824, allocations: 8.547 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.6827, allocations: 108.6 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.683, allocations: 0.6809 MB / 1.025 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.683, allocations: 0 / 1.025 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.683, allocations: 15.44 kB / 1.025 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.683, allocations: 0 / 1.025 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.003593/0.6866, allocations: 0.9763 MB / 1.026 GB, free: 10.94 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","../files/Buildings_latest_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