Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.001043/0.001043, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009858/0.0009858, allocations: 169.7 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.9027/0.9027, 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.354/2.354, allocations: 438.1 MB / 0.682 GB, free: 14.14 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.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.538e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001486/0.001501, allocations: 1.282 MB / 0.891 GB, free: 8.484 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006916/0.002193, allocations: 494.2 kB / 0.8914 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.002233, allocations: 4 kB / 0.8914 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 9.956e-05/0.002333, allocations: 3.938 kB / 0.8914 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.527e-05/0.002358, allocations: 0 / 0.8914 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000642/0.003, allocations: 135.4 kB / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.589e-05/0.003086, allocations: 27.89 kB / 0.8916 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.003124, allocations: 4 kB / 0.8916 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.003171, allocations: 15.92 kB / 0.8916 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.039e-05/0.003202, allocations: 4 kB / 0.8916 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.003222, allocations: 3.984 kB / 0.8916 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.003504, allocations: 159.6 kB / 0.8918 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.003546, allocations: 23.92 kB / 0.8918 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.003572, allocations: 11.94 kB / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.003776, allocations: 171.4 kB / 0.892 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.003777, allocations: 0 / 0.892 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003778, allocations: 0 / 0.892 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.985e-06/0.003781, allocations: 0 / 0.892 GB, free: 7.445 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.0003711/0.004152, allocations: 486.5 kB / 0.8924 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.004188, allocations: 12.62 kB / 0.8924 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.004253, allocations: 8.891 kB / 0.8925 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.129e-05/0.004334, allocations: 132.4 kB / 0.8926 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.004347, allocations: 8.375 kB / 0.8926 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-06/0.004353, allocations: 384 / 0.8926 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.659e-05/0.00444, allocations: 85.84 kB / 0.8927 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.004446, allocations: 192 / 0.8927 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.004451, allocations: 384 / 0.8927 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.004455, allocations: 4.312 kB / 0.8927 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.004478, allocations: 28.47 kB / 0.8927 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.245e-05/0.00457, allocations: 117.1 kB / 0.8928 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.816e-05/0.004618, allocations: 55.05 kB / 0.8929 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.004642, allocations: 31.69 kB / 0.8929 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.004647, allocations: 0 / 0.8929 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.937e-05/0.004737, allocations: 103.1 kB / 0.893 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 8.61e-07/0.004738, allocations: 0 / 0.893 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.0002838/0.005021, allocations: 300.4 kB / 0.8933 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.005063, allocations: 91.31 kB / 0.8934 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.636e-05/0.00515, allocations: 185.8 kB / 0.8935 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.005177, allocations: 49.69 kB / 0.8936 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.005221, allocations: 131.5 kB / 0.8937 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.529e-05/0.005286, allocations: 107.2 kB / 0.8938 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.005361, allocations: 111.3 kB / 0.8939 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.005484, allocations: 0.5156 MB / 0.8944 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.277e-05/0.005527, allocations: 40.64 kB / 0.8945 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.558e-05/0.005613, allocations: 138.2 kB / 0.8946 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.005762, allocations: 218.3 kB / 0.8948 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005764, allocations: 0 / 0.8948 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002314/0.005995, allocations: 302.6 kB / 0.8951 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.006008, allocations: 8 kB / 0.8951 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.006014, allocations: 0 / 0.8951 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.006024, allocations: 4.047 kB / 0.8951 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.006166, allocations: 71.88 kB / 0.8952 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.00617, allocations: 4 kB / 0.8952 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.006211, allocations: 43.62 kB / 0.8952 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.00622, allocations: 4 kB / 0.8952 GB, free: 3.844 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.0001065/0.006326, allocations: 220.6 kB / 0.8954 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.006337, allocations: 11.91 kB / 0.8955 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.006359, allocations: 5.625 kB / 0.8955 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.006363, allocations: 7.938 kB / 0.8955 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.006364, allocations: 0 / 0.8955 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.006367, allocations: 4 kB / 0.8955 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.546e-05/0.006442, allocations: 117.1 kB / 0.8956 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.006444, allocations: 0 / 0.8956 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-06/0.006448, allocations: 3.938 kB / 0.8956 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-06/0.006449, allocations: 0 / 0.8956 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.006454, allocations: 4 kB / 0.8956 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006455, allocations: 0 / 0.8956 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006456, allocations: 0 / 0.8956 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.006669, allocations: 282.9 kB / 0.8959 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.006682, allocations: 19.84 kB / 0.8959 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.006703, allocations: 23.98 kB / 0.8959 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-06/0.006712, allocations: 4 kB / 0.8959 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.006728, allocations: 0 / 0.8959 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.006731, allocations: 4 kB / 0.8959 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.122e-05/0.006772, allocations: 131.1 kB / 0.896 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.006772, allocations: 0 / 0.896 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000199/0.006971, allocations: 59.86 kB / 0.8961 GB, free: 2.906 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.0003002/0.007271, allocations: 231.6 kB / 0.8963 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.007438, allocations: 163.1 kB / 0.8965 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.007439, allocations: 0 / 0.8965 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.792e-05/0.007477, allocations: 59.16 kB / 0.8965 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000104/0.007581, allocations: 7.938 kB / 0.8965 GB, free: 2.457 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.007822, allocations: 249.5 kB / 0.8968 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.637e-05/0.007858, allocations: 79.84 kB / 0.8968 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.473e-05/0.007883, allocations: 12.64 kB / 0.8969 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.007923, allocations: 78.2 kB / 0.8969 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.007924, allocations: 0 / 0.8969 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of Templates: time 0.003343/0.01127, allocations: 2.051 MB / 0.8989 GB, free: 15.96 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.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.235454523935914]