Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001236/0.001236, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01149/0.01149, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.567/1.567, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.936/2.936, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003872, allocations: 9.031 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3628, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001253/0.3641, allocations: 0.9431 MB / 1.06 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000834/0.365, allocations: 406.8 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.365, allocations: 0 / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.365, allocations: 0 / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.727e-05/0.3651, allocations: 0 / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.3656, allocations: 79.8 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.193e-05/0.3656, allocations: 7.984 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.3657, allocations: 4 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.58e-05/0.3657, allocations: 19.86 kB / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.458e-05/0.3657, allocations: 7.938 kB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.3657, allocations: 4 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.366, allocations: 87.91 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.366, allocations: 7.922 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.366, allocations: 33.7 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.3662, allocations: 83.75 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3662, allocations: 0 / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3662, allocations: 4 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.3662, allocations: 0 / 1.06 GB, free: 3.805 MB / 0.8106 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.0004455/0.3667, allocations: 347.5 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3667, allocations: 12.03 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.3668, allocations: 0.9375 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3669, allocations: 164.6 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3669, allocations: 8.375 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.3669, allocations: 384 / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/0.367, allocations: 42.25 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.367, allocations: 192 / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3671, allocations: 3.938 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3671, allocations: 3.938 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.837e-05/0.3671, allocations: 19.91 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.3673, allocations: 157.6 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.152e-05/0.3673, allocations: 26.72 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.3674, allocations: 16.84 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.3674, allocations: 0 / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.3675, allocations: 59.41 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.3676, allocations: 0 / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001932/0.3678, allocations: 73.55 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.3678, allocations: 55.41 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.118e-05/0.3679, allocations: 101.8 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.3679, allocations: 25.7 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.3679, allocations: 80.14 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.368, allocations: 11.91 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.368, allocations: 13.72 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.3681, allocations: 318.8 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.3681, allocations: 8 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.3682, allocations: 35.41 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.435e-05/0.3682, allocations: 51.38 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3682, allocations: 0 / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001026/0.3683, allocations: 69.47 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3684, allocations: 11.94 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3684, allocations: 0 / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3684, allocations: 3.984 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.3685, allocations: 11.94 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3685, allocations: 0 / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.3685, allocations: 4 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3685, allocations: 4.094 kB / 1.062 GB, free: 1.848 MB / 0.8106 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 7.718e-05/0.3686, allocations: 115.4 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.3686, allocations: 3.938 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.3687, allocations: 11.48 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3687, allocations: 0 / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.3687, allocations: 3.938 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3687, allocations: 0 / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.3688, allocations: 153.7 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3688, allocations: 3.938 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.647e-05/0.3688, allocations: 8.422 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3688, allocations: 3.938 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3689, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3689, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3689, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.369, allocations: 93 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.369, allocations: 81.05 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.3691, allocations: 3.938 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.227e-05/0.3691, allocations: 8 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.3691, allocations: 7.984 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-06/0.3691, allocations: 0 / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.005e-05/0.3692, allocations: 79.28 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.923e-06/0.3692, allocations: 0 / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002506/0.3694, allocations: 31.92 kB / 1.063 GB, free: 1.156 MB / 0.8106 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.0003509/0.3698, allocations: 159 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.885e-05/0.3699, allocations: 23.98 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3699, allocations: 0 / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/0.37, allocations: 15.94 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.3701, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.3704, allocations: 105.6 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.3706, allocations: 0.6811 MB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.527e-05/0.3707, allocations: 4 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.3707, allocations: 7.438 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.3707, allocations: 4 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of Templates: time 0.003547/0.3742, allocations: 0.9844 MB / 1.064 GB, free: 15.12 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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