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.001401/0.001401, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001663/0.001663, allocations: 169 kB / 23.27 MB, free: 1.219 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.9944/0.9944, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.34/2.34, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.663e-06/1.663e-06, allocations: 0 / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.529e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001808/0.001833, allocations: 1.266 MB / 0.8909 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006289/0.002462, allocations: 410.6 kB / 0.8913 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.002493, allocations: 0 / 0.8913 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.707e-05/0.00257, allocations: 7.938 kB / 0.8913 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.362e-05/0.002594, allocations: 4 kB / 0.8913 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.003041, allocations: 111.4 kB / 0.8915 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.003102, allocations: 15.98 kB / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.228e-05/0.003134, allocations: 0 / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.028e-05/0.003174, allocations: 11.92 kB / 0.8915 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.465e-05/0.003199, allocations: 11.98 kB / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.003212, allocations: 0 / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.003413, allocations: 123.7 kB / 0.8916 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.003448, allocations: 23.92 kB / 0.8916 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.003466, allocations: 11.94 kB / 0.8916 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.003628, allocations: 131.5 kB / 0.8918 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.003631, allocations: 0 / 0.8918 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003632, allocations: 0 / 0.8918 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.003636, allocations: 0 / 0.8918 GB, free: 7.652 MB / 0.8542 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.000504/0.00414, allocations: 441 kB / 0.8922 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.004187, allocations: 8.625 kB / 0.8922 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.004262, allocations: 16.84 kB / 0.8922 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.834e-05/0.00434, allocations: 124.4 kB / 0.8923 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.00435, allocations: 384 / 0.8923 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-06/0.004355, allocations: 4.375 kB / 0.8923 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.684e-05/0.004432, allocations: 73.08 kB / 0.8924 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.279e-06/0.004438, allocations: 192 / 0.8924 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.004443, allocations: 384 / 0.8924 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.004448, allocations: 384 / 0.8924 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.841e-05/0.004466, allocations: 20.53 kB / 0.8924 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.341e-05/0.004559, allocations: 117.1 kB / 0.8925 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.044e-05/0.0046, allocations: 43.06 kB / 0.8926 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.004622, allocations: 23.72 kB / 0.8926 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.00463, allocations: 7.938 kB / 0.8926 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.528e-05/0.004725, allocations: 116 kB / 0.8927 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 7.52e-07/0.004726, allocations: 0 / 0.8927 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36): time 0.0002739/0.005, allocations: 272.3 kB / 0.893 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.005046, allocations: 83.33 kB / 0.8931 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.923e-05/0.005135, allocations: 185.8 kB / 0.8932 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.005162, allocations: 49.69 kB / 0.8933 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.005202, allocations: 131.5 kB / 0.8934 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.005264, allocations: 99.31 kB / 0.8935 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.005347, allocations: 103.6 kB / 0.8936 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.005474, allocations: 0.5234 MB / 0.8941 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.005516, allocations: 44.95 kB / 0.8942 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.12e-05/0.005597, allocations: 127.2 kB / 0.8943 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.00574, allocations: 206.6 kB / 0.8945 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.005742, allocations: 0 / 0.8945 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0002237/0.005966, allocations: 287.1 kB / 0.8947 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.00598, allocations: 10.5 kB / 0.8948 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.005988, allocations: 4.125 kB / 0.8948 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.005999, allocations: 4 kB / 0.8948 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.006148, allocations: 67.91 kB / 0.8948 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.006151, allocations: 0 / 0.8948 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.006188, allocations: 39.66 kB / 0.8949 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.0062, allocations: 12 kB / 0.8949 GB, free: 4.219 MB / 0.8542 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.0001134/0.006313, allocations: 208.5 kB / 0.8951 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.006325, allocations: 11.91 kB / 0.8951 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.006351, allocations: 13.3 kB / 0.8951 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.006354, allocations: 4 kB / 0.8951 GB, free: 3.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.006355, allocations: 0 / 0.8951 GB, free: 3.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006358, allocations: 0 / 0.8951 GB, free: 3.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.665e-05/0.006445, allocations: 109 kB / 0.8952 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006446, allocations: 4 kB / 0.8952 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.006459, allocations: 4 kB / 0.8952 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.006461, allocations: 4 kB / 0.8952 GB, free: 3.836 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.006465, allocations: 0 / 0.8952 GB, free: 3.836 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.006468, allocations: 7.984 kB / 0.8952 GB, free: 3.828 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.006469, allocations: 0 / 0.8952 GB, free: 3.828 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.006682, allocations: 258.9 kB / 0.8955 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.006696, allocations: 19.83 kB / 0.8955 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.006721, allocations: 23.98 kB / 0.8955 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.134e-05/0.006732, allocations: 4 kB / 0.8955 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.006749, allocations: 0 / 0.8955 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.006753, allocations: 0 / 0.8955 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.006786, allocations: 127.2 kB / 0.8956 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.006786, allocations: 4 kB / 0.8956 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001924/0.006978, allocations: 43.94 kB / 0.8957 GB, free: 3.332 MB / 0.8542 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.0003358/0.007314, allocations: 220 kB / 0.8959 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001704/0.007485, allocations: 162.4 kB / 0.8961 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.007486, allocations: 0 / 0.8961 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.007515, allocations: 43.66 kB / 0.8961 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.007626, allocations: 14 kB / 0.8961 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.007882, allocations: 224.7 kB / 0.8963 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.649e-05/0.007919, allocations: 71.84 kB / 0.8964 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.007953, allocations: 20.83 kB / 0.8964 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.007996, allocations: 78.2 kB / 0.8965 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of SimCode: time 7.71e-07/0.007997, allocations: 0 / 0.8965 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of Templates: time 0.003596/0.01159, allocations: 1.795 MB / 0.8982 GB, free: 0.6836 MB / 0.8542 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.257317130919546]