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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.622/2.622, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.13e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.00167/0.001691, allocations: 1.306 MB / 0.8399 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006473/0.002338, allocations: 414.5 kB / 0.8403 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.002363, allocations: 0 / 0.8403 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.287e-05/0.002436, allocations: 0 / 0.8403 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.064e-05/0.002467, allocations: 3.938 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.00285, allocations: 103.5 kB / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.042e-05/0.002911, allocations: 15.97 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.226e-05/0.002943, allocations: 4 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.832e-05/0.002981, allocations: 19.92 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.185e-05/0.003003, allocations: 7.984 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.003014, allocations: 0 / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.003222, allocations: 131.7 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.255e-05/0.003254, allocations: 23.92 kB / 0.8406 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.003272, allocations: 11.92 kB / 0.8406 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.003419, allocations: 119.6 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.00342, allocations: 0 / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.373e-06/0.003422, allocations: 0 / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.003425, allocations: 3.938 kB / 0.8407 GB, free: 12.08 MB / 0.8073 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.000302/0.003727, allocations: 321.3 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.003759, allocations: 12.62 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.108e-05/0.00383, allocations: 4.938 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.393e-05/0.003914, allocations: 117.6 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.003922, allocations: 384 / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-06/0.003929, allocations: 4.375 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.404e-05/0.004013, allocations: 75.83 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.00402, allocations: 192 / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.004027, allocations: 4.375 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.004034, allocations: 4.375 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.552e-05/0.00406, allocations: 28.47 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.513e-05/0.004135, allocations: 71.72 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.393e-05/0.004179, allocations: 38.56 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.004205, allocations: 32.88 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.072e-06/0.004212, allocations: 3.984 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.165e-05/0.004303, allocations: 96.66 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=36): time 9.42e-07/0.004304, allocations: 0 / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36): time 0.0001956/0.0045, allocations: 201.1 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.004551, allocations: 87.31 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.004612, allocations: 118.6 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.004636, allocations: 49.69 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.004661, allocations: 88.78 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.004717, allocations: 95.25 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.004779, allocations: 81.95 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.004861, allocations: 342.7 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.51e-05/0.004906, allocations: 51.8 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-05/0.004977, allocations: 105.1 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.005122, allocations: 210 kB / 0.8428 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.005125, allocations: 0 / 0.8428 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0001986/0.005323, allocations: 246.9 kB / 0.8431 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.005335, allocations: 4 kB / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.005344, allocations: 0 / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.005357, allocations: 4 kB / 0.8431 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.005506, allocations: 71.89 kB / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.00551, allocations: 4 kB / 0.8431 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.005545, allocations: 31.73 kB / 0.8432 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.005558, allocations: 16.06 kB / 0.8432 GB, free: 9.312 MB / 0.8073 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 9.935e-05/0.005657, allocations: 168.5 kB / 0.8433 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.005665, allocations: 3.984 kB / 0.8434 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.93e-05/0.005684, allocations: 5.312 kB / 0.8434 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.005685, allocations: 4 kB / 0.8434 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.005688, allocations: 4 kB / 0.8434 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005691, allocations: 0 / 0.8434 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.727e-05/0.005758, allocations: 81.67 kB / 0.8434 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005759, allocations: 0 / 0.8434 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-06/0.005767, allocations: 7.984 kB / 0.8435 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.005768, allocations: 0 / 0.8435 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.005772, allocations: 0 / 0.8435 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.005773, allocations: 0 / 0.8435 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.005776, allocations: 7.984 kB / 0.8435 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.005908, allocations: 173.4 kB / 0.8436 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.005919, allocations: 19.83 kB / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.005944, allocations: 23.98 kB / 0.8437 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-06/0.005953, allocations: 4 kB / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.005971, allocations: 3.938 kB / 0.8437 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.005975, allocations: 3.984 kB / 0.8437 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.909e-06/0.005985, allocations: 8.859 kB / 0.8437 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005985, allocations: 0 / 0.8437 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001521/0.006137, allocations: 47.94 kB / 0.8437 GB, free: 8.707 MB / 0.8073 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.0003091/0.006446, allocations: 217.6 kB / 0.8439 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.006584, allocations: 131.7 kB / 0.8441 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.006588, allocations: 4 kB / 0.8441 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.654e-05/0.006614, allocations: 44.75 kB / 0.8441 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.129e-05/0.006675, allocations: 8.188 kB / 0.8441 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.006925, allocations: 236.4 kB / 0.8443 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.764e-05/0.006963, allocations: 71.84 kB / 0.8444 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.006989, allocations: 12.64 kB / 0.8444 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.007028, allocations: 63.38 kB / 0.8445 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of SimCode: time 7.52e-07/0.007029, allocations: 0 / 0.8445 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of Templates: time 0.003196/0.01022, allocations: 1.77 MB / 0.8462 GB, free: 6.148 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.572049302980304]