Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.572/1.572, allocations: 249.5 MB / 257 MB, free: 6.926 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.001267/0.001266, allocations: 172.8 kB / 316.3 MB, free: 3.316 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.608/1.608, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0009323/0.000932, allocations: 90.53 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.483e-05/1.484e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2301, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7417/0.9719, allocations: 132.2 MB / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001758/0.9721, allocations: 71.09 kB / 1.014 GB, free: 5.617 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96: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.006462/0.9786, allocations: 2.283 MB / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9786, allocations: 4 kB / 1.017 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.9786, allocations: 0 / 1.017 GB, free: 3.676 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.0004499/0.9791, allocations: 379.9 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.9791, allocations: 11.97 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.9792, allocations: 7.938 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.9793, allocations: 166.9 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.9793, allocations: 7.875 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.9794, allocations: 0 / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.003e-05/0.9794, allocations: 7.984 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.65e-05/0.9795, allocations: 37.69 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.9795, allocations: 3.938 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.9795, allocations: 0 / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.9795, allocations: 0 / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.9797, allocations: 137.8 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.978e-05/0.9798, allocations: 26.45 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.9798, allocations: 8.859 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.9798, allocations: 8 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.9799, allocations: 58 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.9799, allocations: 0 / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001692/0.9801, allocations: 53.56 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.9802, allocations: 55.41 kB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.487e-05/0.9802, allocations: 96.92 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.9803, allocations: 29.7 kB / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.9803, allocations: 87.7 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.9803, allocations: 3.906 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.9803, allocations: 0 / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.9805, allocations: 322.8 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/0.9805, allocations: 4 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.9805, allocations: 27.25 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.92e-05/0.9806, allocations: 23.8 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9806, allocations: 0 / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.905e-05/0.9807, allocations: 65.39 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.9807, allocations: 4 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.9807, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.9807, allocations: 4 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/0.9808, allocations: 8.594 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.9808, allocations: 8.25 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.9808, allocations: 7.875 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.9808, allocations: 7.984 kB / 1.018 GB, free: 1.871 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.069e-05/0.9809, allocations: 104.9 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.9809, allocations: 7.906 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.981, allocations: 12.27 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.981, allocations: 3.938 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.981, allocations: 0 / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.981, allocations: 0 / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.9811, allocations: 134.2 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9811, allocations: 4 kB / 1.018 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-05/0.9811, allocations: 0.875 kB / 1.018 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.9812, allocations: 7.891 kB / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.9812, allocations: 0 / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.9812, allocations: 4 kB / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.9812, allocations: 0 / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.9813, allocations: 80.92 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.9813, allocations: 81.02 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.9814, allocations: 8.203 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.9814, allocations: 0 / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.9814, allocations: 11.98 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.9814, allocations: 0 / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.9815, allocations: 83.09 kB / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9815, allocations: 0 / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002591/0.9817, allocations: 47.92 kB / 1.019 GB, free: 1.219 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.0003855/0.9821, allocations: 186.9 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.628e-05/0.9822, allocations: 23.67 kB / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9822, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-05/0.9823, allocations: 15.88 kB / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.35e-05/0.9824, allocations: 3.938 kB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002041/0.9826, allocations: 74.86 kB / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.9829, allocations: 0.6768 MB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.551e-05/0.9829, allocations: 7.984 kB / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.983, allocations: 7.438 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.983, allocations: 0 / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of Templates: time 0.003491/0.9865, allocations: 1.229 MB / 1.021 GB, free: 14.98 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","../files/Buildings_maint.7.0.x_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