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.001871/0.001871, allocations: 81.5 kB / 19.44 MB, free: 344 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.002043/0.002043, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.629/1.629, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.411/3.411, allocations: 429.4 MB / 0.6729 GB, free: 4.016 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.603e-06/1.603e-06, allocations: 0.5469 kB / 0.8774 GB, free: 5.547 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.266e-05/3.426e-05, allocations: 3.688 kB / 0.8774 GB, free: 5.543 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.003608/0.003642, allocations: 1.245 MB / 0.8786 GB, free: 4.309 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.005059, allocations: 413.5 kB / 0.879 GB, free: 3.906 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.005088, allocations: 0.8438 kB / 0.879 GB, free: 3.906 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.262e-05/0.005181, allocations: 4.547 kB / 0.879 GB, free: 3.902 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.191e-05/0.005212, allocations: 6.078 kB / 0.879 GB, free: 3.898 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006681/0.005881, allocations: 101 kB / 0.8791 GB, free: 3.801 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.337e-05/0.005974, allocations: 22.81 kB / 0.8791 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.006009, allocations: 1.312 kB / 0.8791 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.669e-05/0.006056, allocations: 8.75 kB / 0.8792 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.006095, allocations: 8.75 kB / 0.8792 GB, free: 3.766 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.006111, allocations: 0 / 0.8792 GB, free: 3.766 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.006553, allocations: 132.8 kB / 0.8793 GB, free: 3.637 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.006613, allocations: 20.59 kB / 0.8793 GB, free: 3.617 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.006658, allocations: 19.84 kB / 0.8793 GB, free: 3.598 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.00698, allocations: 120.6 kB / 0.8794 GB, free: 3.48 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.006982, allocations: 0 / 0.8794 GB, free: 3.48 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.553e-06/0.006984, allocations: 4 kB / 0.8794 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.006988, allocations: 0.6562 kB / 0.8794 GB, free: 3.477 MB / 0.7917 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.0007574/0.007746, allocations: 442.7 kB / 0.8799 GB, free: 3.008 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.007788, allocations: 8.031 kB / 0.8799 GB, free: 3 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.007913, allocations: 12.88 kB / 0.8799 GB, free: 2.988 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.008082, allocations: 120.5 kB / 0.88 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.008111, allocations: 8.375 kB / 0.88 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.008121, allocations: 384 / 0.88 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.008297, allocations: 76.34 kB / 0.8801 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.008306, allocations: 192 / 0.8801 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.008326, allocations: 8.375 kB / 0.8801 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.00833, allocations: 384 / 0.8801 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.235e-05/0.008393, allocations: 27.81 kB / 0.8801 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.008637, allocations: 128.5 kB / 0.8802 GB, free: 2.562 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.008751, allocations: 47.06 kB / 0.8803 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.217e-05/0.008823, allocations: 31.72 kB / 0.8803 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.008838, allocations: 4.938 kB / 0.8803 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.009064, allocations: 103.6 kB / 0.8804 GB, free: 2.352 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=36): time 9.989e-06/0.009074, allocations: 5.109 kB / 0.8804 GB, free: 2.348 MB / 0.7917 GB Notification: Performance of matching and sorting (n=36): time 0.0006767/0.00975, allocations: 290 kB / 0.8807 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.009862, allocations: 83.31 kB / 0.8808 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.01011, allocations: 194.8 kB / 0.881 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.149e-05/0.01019, allocations: 49.69 kB / 0.881 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.0103, allocations: 132.6 kB / 0.8811 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.01048, allocations: 99.38 kB / 0.8812 GB, free: 1.473 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.01071, allocations: 111.7 kB / 0.8813 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0004348/0.01115, allocations: 0.5167 MB / 0.8818 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.01131, allocations: 48.97 kB / 0.8819 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.01162, allocations: 147.2 kB / 0.882 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000787/0.0124, allocations: 228.8 kB / 0.8823 GB, free: 376 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.01241, allocations: 4 kB / 0.8823 GB, free: 372 kB / 0.7917 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007609/0.01317, allocations: 316.1 kB / 0.8826 GB, free: 52 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.01319, allocations: 4 kB / 0.8826 GB, free: 48 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.0132, allocations: 1.094 kB / 0.8826 GB, free: 48 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.01322, allocations: 4 kB / 0.8826 GB, free: 44 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.01365, allocations: 63.97 kB / 0.8826 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.01367, allocations: 9.469 kB / 0.8826 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.01379, allocations: 39.61 kB / 0.8827 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.01383, allocations: 8 kB / 0.8827 GB, free: 15.93 MB / 0.8073 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.0002876/0.01412, allocations: 214.7 kB / 0.8829 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.01415, allocations: 16.03 kB / 0.8829 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.01418, allocations: 5.312 kB / 0.8829 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.0142, allocations: 4 kB / 0.8829 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.0142, allocations: 3.984 kB / 0.8829 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.01421, allocations: 3.938 kB / 0.8829 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.01441, allocations: 128.5 kB / 0.883 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01442, allocations: 0 / 0.883 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-05/0.01444, allocations: 0 / 0.883 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01444, allocations: 3.938 kB / 0.883 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.01445, allocations: 4 kB / 0.883 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.01445, allocations: 3.984 kB / 0.8831 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01446, allocations: 4 kB / 0.8831 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.01501, allocations: 258.2 kB / 0.8833 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.01504, allocations: 19.84 kB / 0.8833 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.0151, allocations: 23.98 kB / 0.8833 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.855e-05/0.01513, allocations: 4 kB / 0.8833 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.01516, allocations: 3.938 kB / 0.8834 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.01517, allocations: 4 kB / 0.8834 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000107/0.01527, allocations: 127.1 kB / 0.8835 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.01527, allocations: 0 / 0.8835 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005019/0.01578, allocations: 47.94 kB / 0.8835 GB, free: 15 MB / 0.8073 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.0007593/0.01653, allocations: 218.8 kB / 0.8837 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004663/0.017, allocations: 170 kB / 0.8839 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.017, allocations: 4.188 kB / 0.8839 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.963e-05/0.0171, allocations: 52.56 kB / 0.8839 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.01734, allocations: 12.03 kB / 0.884 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/0.01795, allocations: 232.7 kB / 0.8842 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.01809, allocations: 93.31 kB / 0.8843 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.605e-05/0.01815, allocations: 12.64 kB / 0.8843 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.01819, allocations: 16.5 kB / 0.8843 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.01819, allocations: 0 / 0.8843 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of Templates: time 0.007726/0.02592, allocations: 1.637 MB / 0.8859 GB, free: 12.55 MB / 0.8073 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","/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.65105883195065]