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.0007837/0.0007837, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0009232/0.0009232, allocations: 177 kB / 23.36 MB, free: 1.125 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 0.927/0.927, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.483/2.483, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.432e-06/1.432e-06, allocations: 0 / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.671e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001489/0.001506, allocations: 1.265 MB / 0.8398 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006206/0.002126, allocations: 422.4 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.002153, allocations: 4 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.653e-05/0.002229, allocations: 0 / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.497e-05/0.002254, allocations: 3.938 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.002739, allocations: 107.5 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.1e-05/0.00281, allocations: 11.94 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.002845, allocations: 3.984 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.179e-05/0.002887, allocations: 15.98 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.702e-05/0.002914, allocations: 3.984 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.002931, allocations: 8 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.003184, allocations: 123.7 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.003227, allocations: 27.86 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.003247, allocations: 7.938 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.003441, allocations: 127.6 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003442, allocations: 0 / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003443, allocations: 0 / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.003447, allocations: 0 / 0.8406 GB, free: 12.12 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.0003675/0.003814, allocations: 313.3 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.00385, allocations: 8.625 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.229e-05/0.003933, allocations: 8.938 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.004034, allocations: 121.6 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.004048, allocations: 8.359 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.004059, allocations: 4.359 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.004166, allocations: 79.78 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004174, allocations: 192 / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.004181, allocations: 384 / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.004186, allocations: 384 / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.686e-05/0.004213, allocations: 28.45 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.227e-05/0.004305, allocations: 75.72 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.35e-05/0.004359, allocations: 34.58 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.00439, allocations: 28.89 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.004397, allocations: 4 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.004515, allocations: 100.6 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=36): time 9.02e-07/0.004516, allocations: 0 / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36): time 0.0002383/0.004754, allocations: 197.1 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.004817, allocations: 83.31 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.403e-05/0.004901, allocations: 118.6 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.004945, allocations: 53.67 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.004978, allocations: 84.78 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.899e-05/0.005057, allocations: 99.27 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.479e-05/0.005152, allocations: 85.94 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.005266, allocations: 338.7 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.03e-05/0.005336, allocations: 51.8 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.005439, allocations: 101.1 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.005652, allocations: 202.1 kB / 0.8427 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.005656, allocations: 7.938 kB / 0.8427 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003051/0.005961, allocations: 243 kB / 0.843 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.005976, allocations: 8 kB / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.005985, allocations: 4 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.006, allocations: 4 kB / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.006217, allocations: 67.89 kB / 0.8431 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.006225, allocations: 3.938 kB / 0.8431 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.006287, allocations: 35.73 kB / 0.8431 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.006303, allocations: 7.938 kB / 0.8431 GB, free: 9.367 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 0.0001378/0.006441, allocations: 176.7 kB / 0.8433 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.006451, allocations: 4 kB / 0.8433 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.006472, allocations: 5.312 kB / 0.8433 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.006474, allocations: 0 / 0.8433 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.006476, allocations: 0 / 0.8433 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.006479, allocations: 7.938 kB / 0.8433 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.714e-05/0.006566, allocations: 85.67 kB / 0.8434 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006567, allocations: 0 / 0.8434 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.129e-05/0.006578, allocations: 4 kB / 0.8434 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.00658, allocations: 0 / 0.8434 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.006584, allocations: 0 / 0.8434 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.006585, allocations: 0 / 0.8434 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.006586, allocations: 0 / 0.8434 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.00676, allocations: 185.4 kB / 0.8435 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.006775, allocations: 16.11 kB / 0.8436 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.006807, allocations: 19.98 kB / 0.8436 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.144e-05/0.006818, allocations: 4 kB / 0.8436 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.006838, allocations: 11.97 kB / 0.8436 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.006842, allocations: 0 / 0.8436 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.507e-05/0.006857, allocations: 12.86 kB / 0.8436 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006857, allocations: 0 / 0.8436 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002552/0.007112, allocations: 39.94 kB / 0.8436 GB, free: 8.758 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.0004017/0.007514, allocations: 218.2 kB / 0.8439 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.007707, allocations: 139.6 kB / 0.844 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.007709, allocations: 0 / 0.844 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/0.007754, allocations: 40.83 kB / 0.844 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.46e-05/0.007828, allocations: 11.94 kB / 0.844 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.00814, allocations: 233.5 kB / 0.8443 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.647e-05/0.008187, allocations: 71.84 kB / 0.8443 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.00822, allocations: 12.64 kB / 0.8443 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.008272, allocations: 63.38 kB / 0.8444 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of SimCode: time 7.11e-07/0.008272, allocations: 0 / 0.8444 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of Templates: time 0.004331/0.0126, allocations: 1.77 MB / 0.8461 GB, free: 6.195 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 -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.157872748095542]