Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001214/0.001214, allocations: 179.7 kB / 326.5 MB, free: 2.27 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.869/1.869, 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.0007889/0.0007889, allocations: 95.73 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003022, allocations: 12.53 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1835, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.3348, allocations: 132 MB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.3351, allocations: 75.95 kB / 1.029 GB, free: 11.71 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.006736/0.3419, allocations: 2.303 MB / 1.031 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.779e-06/0.3419, allocations: 3.984 kB / 1.031 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.3419, allocations: 0 / 1.031 GB, free: 9.402 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.0005029/0.3424, allocations: 388.8 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.3425, allocations: 8.031 kB / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.3426, allocations: 7.906 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3427, allocations: 167 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.3428, allocations: 11.98 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.3428, allocations: 4 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.3429, allocations: 37.62 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3429, allocations: 0 / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.343, allocations: 4 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.343, allocations: 0 / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.859e-05/0.343, allocations: 7.984 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.3432, allocations: 161.7 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.3434, allocations: 31.23 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.3434, allocations: 0 / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.3435, allocations: 55.44 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.3435, allocations: 3.938 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002165/0.3437, allocations: 65.67 kB / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.3438, allocations: 59.41 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.731e-05/0.3439, allocations: 100.8 kB / 1.032 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3439, allocations: 33.7 kB / 1.032 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.344, allocations: 84.14 kB / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.344, allocations: 15.83 kB / 1.032 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.344, allocations: 0 / 1.032 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3441, allocations: 322.8 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.3442, allocations: 8 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.3442, allocations: 31.38 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.052e-05/0.3442, allocations: 15.98 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3442, allocations: 0 / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001081/0.3444, allocations: 65.62 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3444, allocations: 4 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3444, allocations: 0 / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.236e-05/0.3444, allocations: 4 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.3445, allocations: 7.938 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3445, allocations: 8.094 kB / 1.033 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.3446, allocations: 11.89 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3446, allocations: 4 kB / 1.033 GB, free: 7.477 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.815e-05/0.3447, allocations: 115 kB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.3447, allocations: 0 / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.3447, allocations: 7.906 kB / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3447, allocations: 0 / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3447, allocations: 4 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3448, allocations: 240 / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.3449, allocations: 165.9 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3449, allocations: 4 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-05/0.3449, allocations: 3.984 kB / 1.033 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3449, allocations: 4 kB / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3449, allocations: 0 / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.345, allocations: 0 / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.345, allocations: 0 / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.3451, allocations: 89.05 kB / 1.033 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.3452, allocations: 92.91 kB / 1.033 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.3452, allocations: 0 / 1.033 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.793e-05/0.3453, allocations: 0 / 1.033 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.3453, allocations: 4 kB / 1.033 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3453, allocations: 3.984 kB / 1.033 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.493e-05/0.3454, allocations: 83.28 kB / 1.033 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3454, allocations: 0 / 1.033 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003242/0.3457, allocations: 47.92 kB / 1.034 GB, free: 6.766 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.0005099/0.3463, allocations: 178 kB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.3464, allocations: 31.92 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3464, allocations: 0 / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.955e-05/0.3465, allocations: 12 kB / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.464e-05/0.3466, allocations: 3.984 kB / 1.034 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.3469, allocations: 134.3 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.3471, allocations: 0.6809 MB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.3472, allocations: 4 kB / 1.035 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.3472, allocations: 7.438 kB / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of SimCode: time 3.3e-07/0.3472, allocations: 0 / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of Templates: time 0.00393/0.3511, allocations: 1.243 MB / 1.036 GB, free: 4.43 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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