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.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.001135/0.001135, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001396/0.001396, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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.9183/0.9183, allocations: 177.2 MB / 204.6 MB, free: 5.324 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.853/1.853, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_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 1.663e-06/1.663e-06, allocations: 0 / 0.76 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.248e-05, allocations: 2.312 kB / 0.76 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002337/0.00236, allocations: 1.277 MB / 0.7612 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008153/0.003175, allocations: 424.7 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.003203, allocations: 0.9688 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.48e-05/0.003288, allocations: 7.938 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.64e-05/0.003315, allocations: 1.203 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.003817, allocations: 105.2 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.003883, allocations: 19.16 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.124e-05/0.003914, allocations: 1.281 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.179e-05/0.003956, allocations: 16.84 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.194e-05/0.003978, allocations: 0.7656 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.003991, allocations: 6 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.004251, allocations: 131.7 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.004289, allocations: 20.59 kB / 0.7619 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.004311, allocations: 8.594 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.004511, allocations: 128.9 kB / 0.7621 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004514, allocations: 2.188 kB / 0.7621 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004514, allocations: 0 / 0.7621 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.004518, allocations: 0 / 0.7621 GB, free: 4.59 MB / 0.7136 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.0003659/0.004884, allocations: 313.5 kB / 0.7624 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.004914, allocations: 11.97 kB / 0.7624 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.004999, allocations: 8.922 kB / 0.7624 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.681e-05/0.005086, allocations: 111.2 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.005098, allocations: 8.312 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.005109, allocations: 4.359 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.00521, allocations: 76.92 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.005217, allocations: 192 / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.005223, allocations: 384 / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.00523, allocations: 4.359 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.65e-05/0.005256, allocations: 25.94 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.874e-05/0.005355, allocations: 79.66 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.623e-05/0.005411, allocations: 34.52 kB / 0.7627 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.005444, allocations: 29.5 kB / 0.7627 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-06/0.005449, allocations: 0.5625 kB / 0.7627 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.005564, allocations: 98.39 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 9.42e-07/0.005565, allocations: 4 kB / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.0002404/0.005805, allocations: 193.6 kB / 0.763 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.005868, allocations: 87.31 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/0.005953, allocations: 127.6 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.005997, allocations: 49.69 kB / 0.7633 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.006027, allocations: 84.78 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/0.006103, allocations: 88.62 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.006197, allocations: 93.92 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004102/0.006607, allocations: 338.7 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.006689, allocations: 52.55 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.006796, allocations: 101.1 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.007019, allocations: 199.6 kB / 0.7642 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.007022, allocations: 0.6562 kB / 0.7642 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003129/0.007335, allocations: 249.9 kB / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.007348, allocations: 4 kB / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.007356, allocations: 4 kB / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.007371, allocations: 3.938 kB / 0.7644 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.007591, allocations: 67.91 kB / 0.7645 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.007597, allocations: 4 kB / 0.7645 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.007659, allocations: 35.67 kB / 0.7645 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.007679, allocations: 15.92 kB / 0.7645 GB, free: 1.852 MB / 0.7136 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.0001376/0.007816, allocations: 168.6 kB / 0.7647 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.007827, allocations: 0 / 0.7647 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.007855, allocations: 17.3 kB / 0.7647 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.007857, allocations: 0 / 0.7647 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.007858, allocations: 2.781 kB / 0.7647 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007861, allocations: 0 / 0.7647 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.398e-05/0.007955, allocations: 81.69 kB / 0.7648 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007956, allocations: 0 / 0.7648 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.007971, allocations: 4 kB / 0.7648 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.007973, allocations: 0 / 0.7648 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.007978, allocations: 4 kB / 0.7648 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.00798, allocations: 7.922 kB / 0.7648 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007981, allocations: 1.562 kB / 0.7648 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.008165, allocations: 176.5 kB / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.008182, allocations: 19.84 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.008211, allocations: 19.98 kB / 0.765 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.008226, allocations: 1.281 kB / 0.765 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.008241, allocations: 0 / 0.765 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.008247, allocations: 4 kB / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.349e-05/0.00826, allocations: 9.406 kB / 0.765 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.1e-08/0.00826, allocations: 0 / 0.765 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002464/0.008507, allocations: 48.78 kB / 0.7651 GB, free: 1.258 MB / 0.7136 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.0004054/0.008912, allocations: 211.9 kB / 0.7653 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000191/0.009103, allocations: 137 kB / 0.7654 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.009106, allocations: 0.9062 kB / 0.7654 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.026e-05/0.009146, allocations: 40.83 kB / 0.7655 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.396e-05/0.00922, allocations: 8.438 kB / 0.7655 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.009549, allocations: 248.3 kB / 0.7657 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.573e-05/0.009595, allocations: 71.8 kB / 0.7658 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.168e-05/0.009626, allocations: 12.64 kB / 0.7658 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.009675, allocations: 63.36 kB / 0.7658 GB, free: 464 kB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.009676, allocations: 2.75 kB / 0.7659 GB, free: 464 kB / 0.7136 GB Notification: Performance of Templates: time 0.003434/0.01311, allocations: 1.768 MB / 0.7676 GB, free: 14.79 MB / 0.7292 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.153853919822723]