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.001451/0.001451, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002739/0.002739, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.337/3.337, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] 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.523e-06/1.523e-06, allocations: 0 / 0.8776 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.861e-05, allocations: 4.984 kB / 0.8776 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002667/0.002695, allocations: 1.24 MB / 0.8788 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.003698, allocations: 397.3 kB / 0.8791 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.003727, allocations: 1.906 kB / 0.8791 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.236e-05/0.003809, allocations: 4 kB / 0.8792 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.62e-05/0.003835, allocations: 5.688 kB / 0.8792 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.004469, allocations: 107.7 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.529e-05/0.004544, allocations: 19.97 kB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.16e-05/0.004575, allocations: 1.062 kB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.004616, allocations: 11.92 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.813e-05/0.004644, allocations: 5.094 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.004659, allocations: 0 / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.004987, allocations: 135.7 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.005036, allocations: 24.64 kB / 0.8794 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.005071, allocations: 7.938 kB / 0.8795 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.005355, allocations: 125.1 kB / 0.8796 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.005357, allocations: 4 kB / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.61e-07/0.005358, allocations: 0 / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.005364, allocations: 3.938 kB / 0.8796 GB, free: 4.473 MB / 0.8386 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.0005675/0.005931, allocations: 335.6 kB / 0.8799 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.005973, allocations: 8.031 kB / 0.8799 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.006078, allocations: 13.98 kB / 0.8799 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.006236, allocations: 125.6 kB / 0.88 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.006252, allocations: 384 / 0.88 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.006261, allocations: 0.9062 kB / 0.88 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.006481, allocations: 143.8 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.006492, allocations: 4.188 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.006502, allocations: 1.469 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.006506, allocations: 384 / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.006596, allocations: 67.86 kB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.006783, allocations: 126.2 kB / 0.8804 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.006911, allocations: 78.56 kB / 0.8804 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.536e-05/0.007006, allocations: 70.36 kB / 0.8805 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.007018, allocations: 0 / 0.8805 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003142/0.007333, allocations: 172.4 kB / 0.8807 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 1.162e-06/0.007334, allocations: 0 / 0.8807 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36): time 0.0006336/0.007967, allocations: 408.7 kB / 0.8811 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.008058, allocations: 91.31 kB / 0.8812 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.0082, allocations: 121.9 kB / 0.8813 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.008267, allocations: 53.69 kB / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.008323, allocations: 80.8 kB / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.008435, allocations: 87.41 kB / 0.8815 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.008562, allocations: 90 kB / 0.8816 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.008764, allocations: 338.8 kB / 0.8819 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.008981, allocations: 138.1 kB / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.009255, allocations: 197.1 kB / 0.8822 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.009815, allocations: 401.9 kB / 0.8826 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.009817, allocations: 0 / 0.8826 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006624/0.01048, allocations: 443.6 kB / 0.883 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.0105, allocations: 8.125 kB / 0.883 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.01051, allocations: 4 kB / 0.883 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.01053, allocations: 8.031 kB / 0.883 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.01065, allocations: 15.92 kB / 0.8831 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.01066, allocations: 7.938 kB / 0.8831 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.598e-05/0.01075, allocations: 43.62 kB / 0.8831 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.01077, allocations: 8 kB / 0.8831 GB, free: 0.668 MB / 0.8386 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.0002083/0.01098, allocations: 185.7 kB / 0.8833 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.01099, allocations: 3.953 kB / 0.8833 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.01102, allocations: 9.312 kB / 0.8833 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01103, allocations: 0 / 0.8833 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.01103, allocations: 3.984 kB / 0.8833 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.01104, allocations: 3.938 kB / 0.8833 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.01117, allocations: 117.2 kB / 0.8834 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01117, allocations: 0 / 0.8834 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.584e-05/0.01119, allocations: 0 / 0.8834 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01119, allocations: 4 kB / 0.8834 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.0112, allocations: 7.984 kB / 0.8834 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.0112, allocations: 0 / 0.8834 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.0112, allocations: 0 / 0.8834 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.01166, allocations: 318.8 kB / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.01168, allocations: 19.83 kB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.01172, allocations: 23.98 kB / 0.8838 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.865e-05/0.01174, allocations: 4 kB / 0.8838 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.01177, allocations: 7.938 kB / 0.8838 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.01177, allocations: 3.984 kB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.745e-05/0.01183, allocations: 87.22 kB / 0.8839 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01183, allocations: 0 / 0.8839 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003154/0.01215, allocations: 47.94 kB / 0.8839 GB, free: 15.78 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.0005375/0.01268, allocations: 219 kB / 0.8841 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004143/0.0131, allocations: 257 kB / 0.8844 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.0131, allocations: 3.938 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.846e-05/0.01319, allocations: 72.16 kB / 0.8844 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.01334, allocations: 4 kB / 0.8845 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.01384, allocations: 283.1 kB / 0.8847 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.01396, allocations: 101.5 kB / 0.8848 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.476e-05/0.01401, allocations: 20.64 kB / 0.8848 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.01404, allocations: 12.5 kB / 0.8848 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.01404, allocations: 4 kB / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of Templates: time 0.005533/0.01957, allocations: 1.628 MB / 0.8864 GB, free: 13.18 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.377295547979884]