Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.987/2.987, allocations: 0.4893 GB / 0.7884 GB, free: 33.18 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON")
translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 66.86 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3637, allocations: 174.9 MB / 1.316 GB, free: 9.75 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002781/0.3665, allocations: 1.242 MB / 1.317 GB, free: 8.496 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001143/0.3676, allocations: 0.4949 MB / 1.318 GB, free: 8 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.3677, allocations: 0 / 1.318 GB, free: 8 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 9.441e-05/0.3678, allocations: 3.938 kB / 1.318 GB, free: 7.996 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 2.56e-05/0.3678, allocations: 7.984 kB / 1.318 GB, free: 7.988 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007172/0.3685, allocations: 127.5 kB / 1.318 GB, free: 7.863 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.000102/0.3686, allocations: 27.86 kB / 1.318 GB, free: 7.836 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.3687, allocations: 0 / 1.318 GB, free: 7.836 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.004e-05/0.3687, allocations: 15.98 kB / 1.318 GB, free: 7.82 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.35e-05/0.3687, allocations: 11.92 kB / 1.318 GB, free: 7.809 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.3687, allocations: 0 / 1.318 GB, free: 7.809 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.3691, allocations: 159.7 kB / 1.318 GB, free: 7.652 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.3691, allocations: 23.88 kB / 1.318 GB, free: 7.629 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.3692, allocations: 31.67 kB / 1.318 GB, free: 7.598 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000249/0.3694, allocations: 151.4 kB / 1.318 GB, free: 7.449 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3694, allocations: 0 / 1.318 GB, free: 7.449 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.433e-06/0.3694, allocations: 3.938 kB / 1.318 GB, free: 7.445 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.03e-05/0.3694, allocations: 0 / 1.318 GB, free: 7.445 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 36
 * Number of variables: 36
Notification: Performance of Generate backend data structure: time 0.00053/0.37, allocations: 384.2 kB / 1.319 GB, free: 7.027 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.37, allocations: 8.031 kB / 1.319 GB, free: 7.02 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.586e-05/0.3701, allocations: 24.81 kB / 1.319 GB, free: 6.996 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3702, allocations: 126.3 kB / 1.319 GB, free: 6.848 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3702, allocations: 384 / 1.319 GB, free: 6.848 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.3703, allocations: 8.375 kB / 1.319 GB, free: 6.84 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.3705, allocations: 146.2 kB / 1.319 GB, free: 6.691 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3705, allocations: 192 / 1.319 GB, free: 6.691 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3705, allocations: 3.938 kB / 1.319 GB, free: 6.688 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3705, allocations: 0 / 1.319 GB, free: 6.688 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.489e-05/0.3706, allocations: 59.98 kB / 1.319 GB, free: 6.629 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.3707, allocations: 156.4 kB / 1.319 GB, free: 6.434 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.3709, allocations: 90.48 kB / 1.319 GB, free: 6.336 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.791e-05/0.3709, allocations: 72.88 kB / 1.319 GB, free: 6.262 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.371, allocations: 0 / 1.319 GB, free: 6.262 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.3712, allocations: 175.1 kB / 1.319 GB, free: 6.078 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=37): time 1.012e-06/0.3712, allocations: 0 / 1.319 GB, free: 6.078 MB / 1.014 GB
Notification: Performance of matching and sorting (n=37): time 0.0006518/0.3719, allocations: 490.6 kB / 1.32 GB, free: 5.598 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.3719, allocations: 91.36 kB / 1.32 GB, free: 5.496 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/0.372, allocations: 125.8 kB / 1.32 GB, free: 5.363 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.3721, allocations: 53.69 kB / 1.32 GB, free: 5.305 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.3721, allocations: 80.8 kB / 1.32 GB, free: 5.219 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 8.921e-05/0.3722, allocations: 99.31 kB / 1.32 GB, free: 5.121 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/0.3723, allocations: 89.66 kB / 1.32 GB, free: 5.027 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001396/0.3725, allocations: 338.8 kB / 1.321 GB, free: 4.688 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.3726, allocations: 140.6 kB / 1.321 GB, free: 4.551 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.3729, allocations: 217.2 kB / 1.321 GB, free: 4.32 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.3733, allocations: 405.2 kB / 1.321 GB, free: 3.902 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3733, allocations: 4 kB / 1.321 GB, free: 3.898 MB / 1.014 GB
Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005352/0.3739, allocations: 442.4 kB / 1.322 GB, free: 3.461 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3739, allocations: 9.812 kB / 1.322 GB, free: 3.453 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3739, allocations: 4 kB / 1.322 GB, free: 3.449 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3739, allocations: 4 kB / 1.322 GB, free: 3.445 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.374, allocations: 19.92 kB / 1.322 GB, free: 3.426 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.374, allocations: 4 kB / 1.322 GB, free: 3.422 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/0.3741, allocations: 35.67 kB / 1.322 GB, free: 3.387 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.3741, allocations: 16.16 kB / 1.322 GB, free: 3.371 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * Number of states: 0 ()
 * Number of discrete variables: 71 (y,$PRE.y,state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (41):
 * Single equations (assignments): 40
 * Array equations: 1
 * 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 0.0001851/0.3743, allocations: 175.1 kB / 1.322 GB, free: 3.195 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.3743, allocations: 15.84 kB / 1.322 GB, free: 3.18 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.3743, allocations: 13.62 kB / 1.322 GB, free: 3.16 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3743, allocations: 3.938 kB / 1.322 GB, free: 3.156 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3743, allocations: 0 / 1.322 GB, free: 3.156 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3743, allocations: 0 / 1.322 GB, free: 3.156 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.3745, allocations: 152.6 kB / 1.322 GB, free: 2.965 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3745, allocations: 0 / 1.322 GB, free: 2.965 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.415e-05/0.3745, allocations: 4 kB / 1.322 GB, free: 2.961 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3745, allocations: 3.938 kB / 1.322 GB, free: 2.957 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3745, allocations: 3.984 kB / 1.322 GB, free: 2.953 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3745, allocations: 4 kB / 1.322 GB, free: 2.949 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3745, allocations: 3.938 kB / 1.322 GB, free: 2.945 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.375, allocations: 410.5 kB / 1.323 GB, free: 2.527 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.375, allocations: 15.84 kB / 1.323 GB, free: 2.512 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.375, allocations: 27.92 kB / 1.323 GB, free: 2.484 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/0.375, allocations: 7.984 kB / 1.323 GB, free: 2.477 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.3751, allocations: 96 / 1.323 GB, free: 2.477 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3751, allocations: 0 / 1.323 GB, free: 2.477 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.694e-05/0.3751, allocations: 91.27 kB / 1.323 GB, free: 2.387 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3751, allocations: 4 kB / 1.323 GB, free: 2.383 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002571/0.3754, allocations: 55.88 kB / 1.323 GB, free: 2.328 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 36 ($whenCondition1,y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r)
 * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33])
 * 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.0004107/0.3758, allocations: 229.3 kB / 1.323 GB, free: 2.113 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003682/0.3762, allocations: 273.9 kB / 1.323 GB, free: 1.848 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3762, allocations: 0 / 1.323 GB, free: 1.848 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.3762, allocations: 87.83 kB / 1.323 GB, free: 1.762 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.3764, allocations: 4 kB / 1.323 GB, free: 1.758 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.3768, allocations: 291.3 kB / 1.324 GB, free: 1.445 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3771, allocations: 0.7162 MB / 1.324 GB, free: 0.7031 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.289e-05/0.3771, allocations: 16.64 kB / 1.324 GB, free: 0.6875 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.3772, allocations: 15.44 kB / 1.324 GB, free: 0.6719 MB / 1.014 GB
Notification: Performance of SimCode: time 2.71e-07/0.3772, allocations: 0 / 1.324 GB, free: 0.6719 MB / 1.014 GB
Notification: Performance of Templates: time 0.0048/0.382, allocations: 1.882 MB / 1.326 GB, free: 14.79 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.336126510985196]