Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001685/0.001685, allocations: 198.4 kB / 16.26 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.867/2.867, allocations: 469.8 MB / 0.742 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002842/0.002842, allocations: 71.86 kB / 0.908 GB, free: 34.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3452, allocations: 159.2 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002458/0.3477, allocations: 1.255 MB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008677/0.3486, allocations: 404.6 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.3487, allocations: 0 / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.3487, allocations: 4 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.3487, allocations: 0 / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.3492, allocations: 87.8 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.822e-05/0.3493, allocations: 19.97 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.3493, allocations: 4 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.895e-05/0.3494, allocations: 3.938 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.536e-05/0.3494, allocations: 11.98 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.3494, allocations: 0 / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.3496, allocations: 95.78 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.3496, allocations: 4 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.3497, allocations: 15.92 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.3498, allocations: 87.81 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3499, allocations: 0 / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3499, allocations: 0 / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3499, allocations: 0 / 1.065 GB, free: 12.61 MB / 0.8262 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.000467/0.3503, allocations: 335.6 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3504, allocations: 19.95 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.3504, allocations: 4.938 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3506, allocations: 172.5 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3506, allocations: 12.38 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.3506, allocations: 384 / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.85e-05/0.3507, allocations: 38.25 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3507, allocations: 192 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3507, allocations: 3.938 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3507, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.969e-05/0.3508, allocations: 7.984 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.351, allocations: 157.6 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.838e-05/0.351, allocations: 34.52 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.3511, allocations: 16.98 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.3511, allocations: 0 / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.3513, allocations: 51.41 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3513, allocations: 0 / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002081/0.3515, allocations: 73.55 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.3515, allocations: 55.41 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.3516, allocations: 105.8 kB / 1.066 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3517, allocations: 25.7 kB / 1.066 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.3517, allocations: 80.14 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.3517, allocations: 11.91 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.3518, allocations: 21.7 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.352, allocations: 310.8 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.352, allocations: 8 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.804e-05/0.352, allocations: 39.41 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.972e-05/0.3521, allocations: 43.38 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3521, allocations: 4 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001105/0.3522, allocations: 66 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.3523, allocations: 19.92 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3523, allocations: 3.984 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3523, allocations: 3.984 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.3524, allocations: 8 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.3524, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.3524, allocations: 7.938 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3524, allocations: 4 kB / 1.067 GB, free: 10.65 MB / 0.8262 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 (y,$PRE.y,curSeed,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.546e-05/0.3525, allocations: 110 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.3526, allocations: 3.938 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.3526, allocations: 15.48 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.3526, allocations: 4 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3526, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3526, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.3528, allocations: 153.6 kB / 1.067 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3528, allocations: 0 / 1.067 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/0.3528, allocations: 3.938 kB / 1.067 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.3528, allocations: 11.88 kB / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3528, allocations: 0 / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3528, allocations: 4 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3528, allocations: 7.984 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.353, allocations: 85.11 kB / 1.067 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.3531, allocations: 85.05 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.3531, allocations: 3.938 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.939e-05/0.3531, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.3531, allocations: 7.984 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.3531, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.203e-05/0.3532, allocations: 83.28 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3532, allocations: 0 / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002511/0.3535, allocations: 31.98 kB / 1.068 GB, free: 9.957 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004533/0.3539, allocations: 171.5 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.3541, allocations: 27.98 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3541, allocations: 4.188 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.474e-05/0.3541, allocations: 11.94 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.3543, allocations: 5.719 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.3545, allocations: 105 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3549, allocations: 0.6768 MB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.265e-05/0.355, allocations: 0 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.355, allocations: 19.42 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.355, allocations: 0 / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of Templates: time 0.003701/0.3587, allocations: 0.9917 MB / 1.07 GB, free: 7.902 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:lambda,seed,t0,time,y