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.377/1.377, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 182.3 kB / 326.5 MB, free: 2.25 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.746/1.746, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008178/0.0008177, allocations: 99.48 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002983, allocations: 7.5 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1832, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.3441, allocations: 132 MB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.3443, allocations: 71.97 kB / 1.029 GB, free: 11.74 MB / 0.6823 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.006275/0.3506, allocations: 2.311 MB / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3506, allocations: 0 / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3507, allocations: 8 kB / 1.031 GB, free: 9.414 MB / 0.6823 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.0004186/0.3511, allocations: 392.8 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.3511, allocations: 8.031 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.3512, allocations: 3.906 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3513, allocations: 167 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.3513, allocations: 4 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3514, allocations: 7.984 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.3515, allocations: 37.62 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3515, allocations: 4 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.3515, allocations: 0 / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3515, allocations: 0 / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.837e-05/0.3515, allocations: 4 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.3517, allocations: 165.7 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.428e-05/0.3518, allocations: 27.25 kB / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.3518, allocations: 0 / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.3519, allocations: 67.41 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.3519, allocations: 3.938 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002017/0.3521, allocations: 69.61 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.3522, allocations: 55.41 kB / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.3523, allocations: 96.91 kB / 1.032 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3523, allocations: 29.7 kB / 1.032 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.3523, allocations: 84.12 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.3524, allocations: 19.84 kB / 1.032 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.3524, allocations: 0 / 1.032 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.3525, allocations: 318.7 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.3525, allocations: 8 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.3525, allocations: 35.42 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.3526, allocations: 8 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3526, allocations: 4 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.593e-05/0.3527, allocations: 69.61 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.3527, allocations: 4 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3527, allocations: 0 / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3527, allocations: 4 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.458e-05/0.3528, allocations: 7.938 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3528, allocations: 4 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.3528, allocations: 8.156 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3529, allocations: 8 kB / 1.033 GB, free: 7.492 MB / 0.6823 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 8.105e-05/0.353, allocations: 113.9 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.353, allocations: 7.984 kB / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.353, allocations: 7.906 kB / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.353, allocations: 0 / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.353, allocations: 0 / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.353, allocations: 4 kB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.3532, allocations: 161.6 kB / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3532, allocations: 0 / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.029e-05/0.3532, allocations: 0 / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3532, allocations: 4 kB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3532, allocations: 7.984 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3532, allocations: 3.938 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3532, allocations: 0 / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.3534, allocations: 77.12 kB / 1.033 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.3534, allocations: 96.89 kB / 1.033 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3534, allocations: 0 / 1.033 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.3535, allocations: 0 / 1.033 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.3535, allocations: 4 kB / 1.033 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.3535, allocations: 4 kB / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.68e-05/0.3536, allocations: 87.27 kB / 1.033 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3536, allocations: 0 / 1.033 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002534/0.3538, allocations: 43.94 kB / 1.034 GB, free: 6.781 MB / 0.6823 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.0003432/0.3542, allocations: 180.8 kB / 1.034 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.776e-05/0.3543, allocations: 31.92 kB / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.3543, allocations: 0 / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.3543, allocations: 15.94 kB / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.284e-05/0.3544, allocations: 2.234 kB / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.3547, allocations: 126.2 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.3549, allocations: 0.6889 MB / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.858e-05/0.3549, allocations: 4 kB / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.355, allocations: 7.438 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of SimCode: time 3.1e-07/0.355, allocations: 0 / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of Templates: time 0.003248/0.3582, allocations: 1.25 MB / 1.036 GB, free: 4.438 MB / 0.6823 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