Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.001117/0.001117, 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.001197/0.001197, allocations: 169 kB / 23.27 MB, free: 1.223 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.9275/0.9275, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.413/2.413, allocations: 438.1 MB / 0.682 GB, free: 14.16 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.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8897 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.349e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001885/0.001909, allocations: 1.285 MB / 0.891 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006777/0.002586, allocations: 458.3 kB / 0.8914 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.002618, allocations: 0 / 0.8914 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.405e-05/0.002692, allocations: 0 / 0.8914 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.002e-05/0.002712, allocations: 3.938 kB / 0.8914 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.003203, allocations: 131.4 kB / 0.8915 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.003267, allocations: 19.91 kB / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.053e-05/0.003297, allocations: 7.984 kB / 0.8916 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.003334, allocations: 15.98 kB / 0.8916 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.088e-05/0.003355, allocations: 4 kB / 0.8916 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.003367, allocations: 3.938 kB / 0.8916 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.003597, allocations: 147.7 kB / 0.8917 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.003634, allocations: 23.91 kB / 0.8917 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.003654, allocations: 11.94 kB / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.00382, allocations: 143.5 kB / 0.8919 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003822, allocations: 7.938 kB / 0.8919 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.22e-07/0.003823, allocations: 0 / 0.8919 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.003827, allocations: 0 / 0.8919 GB, free: 7.57 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0003475/0.004174, allocations: 490.5 kB / 0.8924 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.004209, allocations: 12.62 kB / 0.8924 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/0.004276, allocations: 12.89 kB / 0.8924 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.262e-05/0.004348, allocations: 120.5 kB / 0.8925 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.004361, allocations: 4.375 kB / 0.8925 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.004369, allocations: 8.344 kB / 0.8925 GB, free: 6.863 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.05e-05/0.00446, allocations: 89.84 kB / 0.8926 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.004465, allocations: 192 / 0.8926 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.004472, allocations: 384 / 0.8926 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.004476, allocations: 384 / 0.8926 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.004498, allocations: 28.47 kB / 0.8926 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.643e-05/0.004594, allocations: 117 kB / 0.8927 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.457e-05/0.004639, allocations: 47.06 kB / 0.8928 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.004664, allocations: 35.72 kB / 0.8928 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-06/0.004669, allocations: 0 / 0.8928 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.53e-05/0.004764, allocations: 111 kB / 0.8929 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 7.81e-07/0.004765, allocations: 0 / 0.8929 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.0002827/0.005048, allocations: 304.5 kB / 0.8932 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.005092, allocations: 87.31 kB / 0.8933 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.098e-05/0.005173, allocations: 185.8 kB / 0.8935 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.005199, allocations: 49.69 kB / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.00524, allocations: 135.5 kB / 0.8936 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.005302, allocations: 99.31 kB / 0.8937 GB, free: 5.492 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.005381, allocations: 107.3 kB / 0.8938 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.005502, allocations: 0.5234 MB / 0.8944 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.257e-05/0.005544, allocations: 44.62 kB / 0.8944 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.741e-05/0.005632, allocations: 138.2 kB / 0.8945 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.005785, allocations: 218.3 kB / 0.8947 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.005788, allocations: 0 / 0.8947 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002299/0.006018, allocations: 298.6 kB / 0.895 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.00603, allocations: 10.5 kB / 0.895 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.006036, allocations: 0 / 0.895 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.006047, allocations: 4 kB / 0.895 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.006186, allocations: 63.91 kB / 0.8951 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.006192, allocations: 7.984 kB / 0.8951 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.006234, allocations: 47.56 kB / 0.8952 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.006243, allocations: 4 kB / 0.8952 GB, free: 3.965 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (y,$PRE.y,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],r,$PRE.r,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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.0001076/0.006351, allocations: 212.5 kB / 0.8954 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.006363, allocations: 15.84 kB / 0.8954 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.006386, allocations: 13.61 kB / 0.8954 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006388, allocations: 0 / 0.8954 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.00639, allocations: 0 / 0.8954 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006393, allocations: 0 / 0.8954 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.785e-05/0.00647, allocations: 117.1 kB / 0.8955 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.006472, allocations: 0 / 0.8955 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-06/0.00648, allocations: 7.984 kB / 0.8955 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.006482, allocations: 4 kB / 0.8955 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.006487, allocations: 0 / 0.8955 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006489, allocations: 4 kB / 0.8955 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006489, allocations: 0 / 0.8955 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.006704, allocations: 270.9 kB / 0.8958 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.006718, allocations: 27.77 kB / 0.8958 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.006738, allocations: 16 kB / 0.8958 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.149e-05/0.00675, allocations: 7.984 kB / 0.8958 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.006766, allocations: 7.938 kB / 0.8958 GB, free: 3.219 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.006769, allocations: 0 / 0.8958 GB, free: 3.219 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.599e-05/0.006805, allocations: 135.2 kB / 0.896 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006805, allocations: 0 / 0.896 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001999/0.007005, allocations: 51.94 kB / 0.896 GB, free: 3.035 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: 36 ($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],r) * 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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002945/0.007299, allocations: 223.9 kB / 0.8962 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.007458, allocations: 159.1 kB / 0.8964 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.007459, allocations: 0 / 0.8964 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.602e-05/0.007495, allocations: 59.16 kB / 0.8964 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/0.0076, allocations: 11.92 kB / 0.8964 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.007843, allocations: 245.4 kB / 0.8967 GB, free: 2.32 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.007878, allocations: 76.16 kB / 0.8967 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.007904, allocations: 12.64 kB / 0.8968 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.007943, allocations: 82.2 kB / 0.8968 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of SimCode: time 7.22e-07/0.007944, allocations: 0 / 0.8968 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of Templates: time 0.003555/0.0115, allocations: 1.948 MB / 0.8987 GB, free: 204 kB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.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.333646310959011]