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.488/1.488, allocations: 249.3 MB / 261.8 MB, free: 5.922 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.001134/0.001135, allocations: 180.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.0008793/0.0008791, allocations: 86.53 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.074e-05, allocations: 0 / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2541, allocations: 106.3 MB / 0.8918 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7561/1.01, allocations: 131.9 MB / 1.021 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/1.011, allocations: 75.56 kB / 1.021 GB, free: 2.793 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.006241/1.017, allocations: 2.305 MB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.224e-06/1.017, allocations: 0 / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.162e-06/1.017, allocations: 0 / 1.023 GB, free: 0.8047 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.0003933/1.017, allocations: 375.7 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.017, allocations: 11.97 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/1.017, allocations: 4.5 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/1.018, allocations: 166.9 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/1.018, allocations: 4.25 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/1.018, allocations: 8 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/1.018, allocations: 37.62 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/1.018, allocations: 0 / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/1.018, allocations: 7.984 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/1.018, allocations: 0 / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.709e-05/1.018, allocations: 4 kB / 1.024 GB, free: 112 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/1.018, allocations: 162.9 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.048e-05/1.018, allocations: 28.8 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/1.018, allocations: 16.98 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-06/1.018, allocations: 4 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/1.018, allocations: 55.03 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/1.018, allocations: 0 / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001805/1.018, allocations: 56.25 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/1.018, allocations: 55.39 kB / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/1.019, allocations: 104.1 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/1.019, allocations: 25.7 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/1.019, allocations: 87.33 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/1.019, allocations: 7.281 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/1.019, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.019, allocations: 322.8 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/1.019, allocations: 7.5 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/1.019, allocations: 38.88 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/1.019, allocations: 7.984 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/1.019, allocations: 4 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001008/1.019, allocations: 64.41 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.019, allocations: 8 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/1.019, allocations: 0 / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.019, allocations: 96 / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/1.019, allocations: 15.94 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.019, allocations: 3.984 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/1.019, allocations: 15.59 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/1.019, allocations: 0 / 1.025 GB, free: 14.96 MB / 0.6511 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 7.498e-05/1.019, allocations: 112.9 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/1.019, allocations: 8.141 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/1.019, allocations: 11.28 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/1.019, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.019, allocations: 4 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/1.019, allocations: 4 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/1.02, allocations: 161 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.02, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/1.02, allocations: 4 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.02, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/1.02, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.02, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.02, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/1.02, allocations: 96.06 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/1.02, allocations: 81.02 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/1.02, allocations: 4 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/1.02, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/1.02, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/1.02, allocations: 11.55 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.536e-05/1.02, allocations: 79.28 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.02, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002466/1.02, allocations: 47.3 kB / 1.025 GB, free: 14.27 MB / 0.6511 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.0004127/1.021, allocations: 177.4 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.899e-05/1.021, allocations: 31.41 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.021, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/1.021, allocations: 15.38 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/1.021, allocations: 10.16 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/1.021, allocations: 76.73 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/1.021, allocations: 0.6809 MB / 1.026 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.041e-05/1.021, allocations: 0 / 1.026 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/1.022, allocations: 15.06 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.022, allocations: 0 / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of Templates: time 0.003562/1.025, allocations: 1.25 MB / 1.027 GB, free: 12 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