Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002187/0.002187, allocations: 192.1 kB / 22.11 MB, free: 4.223 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.519/1.519, allocations: 225.6 MB / 250.8 MB, free: 2.914 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.047/3.047, allocations: 495.8 MB / 0.7831 GB, free: 12.32 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration")
translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 67.89 kB / 1.137 GB, free: 12.25 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.572/1.574, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002611/1.577, allocations: 1.225 MB / 1.308 GB, free: 32.91 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0009092/1.578, allocations: 412.8 kB / 1.308 GB, free: 32.66 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/1.578, allocations: 0 / 1.308 GB, free: 32.66 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001045/1.578, allocations: 7.266 kB / 1.308 GB, free: 32.65 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 2.417e-05/1.578, allocations: 0 / 1.308 GB, free: 32.65 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000582/1.579, allocations: 106.4 kB / 1.308 GB, free: 32.6 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 8.673e-05/1.579, allocations: 17.16 kB / 1.308 GB, free: 32.59 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/1.579, allocations: 7.031 kB / 1.308 GB, free: 32.59 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.841e-05/1.579, allocations: 6.141 kB / 1.308 GB, free: 32.59 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.547e-05/1.579, allocations: 14.98 kB / 1.308 GB, free: 32.58 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 1.487e-05/1.579, allocations: 2.906 kB / 1.308 GB, free: 32.58 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000279/1.579, allocations: 128.3 kB / 1.309 GB, free: 32.54 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 5.404e-05/1.579, allocations: 18.8 kB / 1.309 GB, free: 32.54 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 3.96e-05/1.579, allocations: 22.22 kB / 1.309 GB, free: 32.52 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002237/1.58, allocations: 121.2 kB / 1.309 GB, free: 32.47 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.58, allocations: 0 / 1.309 GB, free: 32.47 MB / 1.061 GB
Notification: Performance of FrontEnd: time 2.064e-06/1.58, allocations: 0 / 1.309 GB, free: 32.47 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 7.274e-06/1.58, allocations: 0 / 1.309 GB, free: 32.47 MB / 1.061 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 35
 * Number of variables: 35
Notification: Performance of Generate backend data structure: time 0.0005461/1.58, allocations: 347.3 kB / 1.309 GB, free: 32.15 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.58, allocations: 8.875 kB / 1.309 GB, free: 32.15 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/1.58, allocations: 14.34 kB / 1.309 GB, free: 32.14 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/1.58, allocations: 113.1 kB / 1.309 GB, free: 32.01 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/1.58, allocations: 3.031 kB / 1.309 GB, free: 32.01 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/1.58, allocations: 384 / 1.309 GB, free: 32.01 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/1.581, allocations: 142.4 kB / 1.309 GB, free: 31.95 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.581, allocations: 192 / 1.309 GB, free: 31.95 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/1.581, allocations: 11.88 kB / 1.309 GB, free: 31.94 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.581, allocations: 6.406 kB / 1.309 GB, free: 31.93 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.939e-05/1.581, allocations: 61.91 kB / 1.309 GB, free: 31.92 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/1.581, allocations: 158.6 kB / 1.31 GB, free: 31.74 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.677e-05/1.581, allocations: 76.89 kB / 1.31 GB, free: 31.7 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.641e-05/1.581, allocations: 68.55 kB / 1.31 GB, free: 31.67 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/1.581, allocations: 0 / 1.31 GB, free: 31.67 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/1.581, allocations: 177 kB / 1.31 GB, free: 31.58 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=36): time 9.32e-07/1.581, allocations: 3.938 kB / 1.31 GB, free: 31.58 MB / 1.061 GB
Notification: Performance of matching and sorting (n=36): time 0.0005225/1.582, allocations: 400.1 kB / 1.31 GB, free: 31.44 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/1.582, allocations: 89.16 kB / 1.31 GB, free: 31.37 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/1.582, allocations: 122.2 kB / 1.31 GB, free: 31.25 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 3.687e-05/1.582, allocations: 50.92 kB / 1.311 GB, free: 31.21 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/1.582, allocations: 80.8 kB / 1.311 GB, free: 31.13 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 8.028e-05/1.582, allocations: 108.2 kB / 1.311 GB, free: 31.05 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.843e-05/1.582, allocations: 85.56 kB / 1.311 GB, free: 31 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 7.936e-05/1.582, allocations: 333.6 kB / 1.311 GB, free: 30.68 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/1.582, allocations: 143 kB / 1.311 GB, free: 30.65 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/1.583, allocations: 206.6 kB / 1.311 GB, free: 30.55 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/1.583, allocations: 393.2 kB / 1.312 GB, free: 30.4 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.583, allocations: 2.375 kB / 1.312 GB, free: 30.4 MB / 1.061 GB
Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004746/1.584, allocations: 422.7 kB / 1.312 GB, free: 30.25 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.584, allocations: 11.38 kB / 1.312 GB, free: 30.25 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/1.584, allocations: 6.562 kB / 1.312 GB, free: 30.25 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/1.584, allocations: 6.75 kB / 1.312 GB, free: 30.24 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/1.584, allocations: 19.8 kB / 1.312 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/1.584, allocations: 2.875 kB / 1.312 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/1.584, allocations: 29.55 kB / 1.312 GB, free: 30.21 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/1.584, allocations: 8.531 kB / 1.312 GB, free: 30.21 MB / 1.061 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 69 (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],y,$PRE.y,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (39):
 * Single equations (assignments): 38
 * 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.00015/1.584, allocations: 184.4 kB / 1.312 GB, free: 30.06 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/1.584, allocations: 14.69 kB / 1.312 GB, free: 30.05 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/1.584, allocations: 8.453 kB / 1.312 GB, free: 30.04 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/1.584, allocations: 0 / 1.312 GB, free: 30.04 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.584, allocations: 4 kB / 1.312 GB, free: 30.04 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.584, allocations: 0 / 1.312 GB, free: 30.04 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/1.584, allocations: 149.7 kB / 1.313 GB, free: 29.87 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/1.584, allocations: 0 / 1.313 GB, free: 29.87 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/1.584, allocations: 6.781 kB / 1.313 GB, free: 29.87 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/1.584, allocations: 7.938 kB / 1.313 GB, free: 29.86 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/1.584, allocations: 2.906 kB / 1.313 GB, free: 29.86 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/1.584, allocations: 0 / 1.313 GB, free: 29.86 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/1.584, allocations: 0 / 1.313 GB, free: 29.86 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/1.584, allocations: 328.2 kB / 1.313 GB, free: 29.7 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/1.584, allocations: 14.66 kB / 1.313 GB, free: 29.68 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/1.584, allocations: 27.75 kB / 1.313 GB, free: 29.68 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/1.584, allocations: 0 / 1.313 GB, free: 29.68 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/1.585, allocations: 10.16 kB / 1.313 GB, free: 29.68 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/1.585, allocations: 0 / 1.313 GB, free: 29.68 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 2.652e-05/1.585, allocations: 82.19 kB / 1.313 GB, free: 29.6 MB / 1.061 GB
Notification: Performance of sort global known variables: time 7.1e-08/1.585, allocations: 0 / 1.313 GB, free: 29.6 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002688/1.585, allocations: 48.66 kB / 1.313 GB, free: 29.59 MB / 1.061 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 35 ($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])
 * 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 (3):
 * Single equations (assignments): 2
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.0004752/1.585, allocations: 218.2 kB / 1.313 GB, free: 29.46 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0003571/1.586, allocations: 259.6 kB / 1.314 GB, free: 29.39 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.586, allocations: 0 / 1.314 GB, free: 29.39 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 6.543e-05/1.586, allocations: 69.83 kB / 1.314 GB, free: 29.38 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/1.586, allocations: 2.844 kB / 1.314 GB, free: 29.38 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/1.586, allocations: 289.9 kB / 1.314 GB, free: 29.19 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/1.586, allocations: 0.7081 MB / 1.315 GB, free: 28.5 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 3.888e-05/1.586, allocations: 19.05 kB / 1.315 GB, free: 28.5 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/1.587, allocations: 13.06 kB / 1.315 GB, free: 28.49 MB / 1.061 GB
Notification: Performance of SimCode: time 3.6e-07/1.587, allocations: 0 / 1.315 GB, free: 28.49 MB / 1.061 GB
Notification: Performance of Templates: time 0.005023/1.592, allocations: 1.65 MB / 1.316 GB, free: 28.31 MB / 1.061 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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: 10.454584232531488]