Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 99.7 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.001418/0.001418, 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.357/1.357, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.624/2.624, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005695/0.0005698, allocations: 15.94 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6724/0.673, allocations: 153.7 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001234/0.6742, allocations: 0.9448 MB / 1.022 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007517/0.675, allocations: 410.9 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.675, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.6751, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.505e-05/0.6751, allocations: 3.938 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.6756, allocations: 87.75 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.6756, allocations: 8 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.6757, allocations: 8 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.074e-05/0.6757, allocations: 11.92 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.328e-05/0.6758, allocations: 15.91 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.6758, allocations: 4 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.6759, allocations: 71.88 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.676, allocations: 7.984 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.676, allocations: 37.58 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.6762, allocations: 67.89 kB / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.6762, allocations: 0 / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6762, allocations: 0 / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.6762, allocations: 0 / 1.022 GB, free: 15.39 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.0004252/0.6766, allocations: 379 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.6767, allocations: 11.98 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.6767, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.6768, allocations: 174.9 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.6769, allocations: 0 / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.6769, allocations: 4 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.677, allocations: 41.58 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.463e-06/0.677, allocations: 0 / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.677, allocations: 8 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.677, allocations: 0 / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3e-05/0.6771, allocations: 11.92 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.6772, allocations: 153.7 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.243e-05/0.6773, allocations: 34.61 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/0.6773, allocations: 0 / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.6775, allocations: 63.44 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.6775, allocations: 0 / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001966/0.6777, allocations: 69.61 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.6778, allocations: 51.41 kB / 1.023 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.6778, allocations: 109.8 kB / 1.023 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.6779, allocations: 25.7 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.6779, allocations: 88.14 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.6779, allocations: 11.8 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.6779, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.6781, allocations: 326.8 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.6781, allocations: 4 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.673e-05/0.6781, allocations: 31.42 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.048e-05/0.6782, allocations: 15.94 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.6782, allocations: 0 / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001057/0.6783, allocations: 69.62 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.6783, allocations: 4 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.6783, allocations: 7.953 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6783, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.6784, allocations: 11.98 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.6784, allocations: 0 / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.6785, allocations: 0 / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.6785, allocations: 4 kB / 1.024 GB, free: 13.48 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 0.0001036/0.6786, allocations: 123.8 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.6786, allocations: 7.844 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.6786, allocations: 3.906 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6786, allocations: 7.953 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.6787, allocations: 0 / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6787, allocations: 7.922 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.6788, allocations: 157.6 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6788, allocations: 0 / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-05/0.6788, allocations: 4 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6788, allocations: 0 / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.6789, allocations: 4 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6789, allocations: 0 / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6789, allocations: 3.953 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.679, allocations: 93.05 kB / 1.024 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.6791, allocations: 81.02 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.6791, allocations: 0 / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.135e-05/0.6791, allocations: 0 / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.6791, allocations: 11.94 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.6792, allocations: 4 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.162e-05/0.6792, allocations: 83.53 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6792, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002524/0.6795, allocations: 35.98 kB / 1.025 GB, free: 12.77 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.00035/0.6798, allocations: 158.3 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.68, allocations: 39.86 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.68, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.68, allocations: 8 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.538e-05/0.6801, allocations: 11.92 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.6804, allocations: 116.6 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.6806, allocations: 0.6809 MB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.911e-05/0.6806, allocations: 8.188 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.6806, allocations: 7.438 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.6806, allocations: 0 / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of Templates: time 0.003296/0.6839, allocations: 1.058 MB / 1.027 GB, free: 10.63 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,t0,time,u,y