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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 115.1 kB / 17.08 MB, free: 5.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 193.2 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 489.3 MB / 0.7687 GB, free: 3.926 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001918/0.001918, allocations: 67.89 kB / 1.103 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8301/0.8321, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001968/0.8341, allocations: 1.241 MB / 1.264 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008447/0.8349, allocations: 486.5 kB / 1.264 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.835, allocations: 0 / 1.264 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.936e-05/0.8351, allocations: 5.25 kB / 1.264 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 1.792e-05/0.8351, allocations: 4.75 kB / 1.264 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.8356, allocations: 126.8 kB / 1.264 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.562e-05/0.8356, allocations: 28.27 kB / 1.264 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.8357, allocations: 2.188 kB / 1.264 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.8357, allocations: 11.64 kB / 1.264 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.657e-05/0.8358, allocations: 13.84 kB / 1.264 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.8358, allocations: 1.469 kB / 1.264 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.836, allocations: 115.9 kB / 1.265 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.8361, allocations: 24.16 kB / 1.265 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.8361, allocations: 36.64 kB / 1.265 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.8363, allocations: 145.8 kB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8364, allocations: 0.625 kB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8364, allocations: 0.9062 kB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.8364, allocations: 0 / 1.265 GB, free: 6.605 MB / 0.9981 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.0003966/0.8368, allocations: 458.5 kB / 1.265 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.8368, allocations: 9.75 kB / 1.265 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.528e-05/0.8369, allocations: 14.8 kB / 1.265 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.914e-05/0.837, allocations: 177.8 kB / 1.265 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.837, allocations: 10 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.837, allocations: 2.875 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.8372, allocations: 147.2 kB / 1.266 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8372, allocations: 192 / 1.266 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.8372, allocations: 5.312 kB / 1.266 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.8372, allocations: 0.8125 kB / 1.266 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.613e-05/0.8373, allocations: 61.55 kB / 1.266 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.8375, allocations: 192.3 kB / 1.266 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.8376, allocations: 121.1 kB / 1.266 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.297e-05/0.8377, allocations: 100.5 kB / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.8377, allocations: 1.391 kB / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.8379, allocations: 175.6 kB / 1.266 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.142e-06/0.8379, allocations: 0.6875 kB / 1.266 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.0006349/0.8386, allocations: 491.4 kB / 1.267 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.8386, allocations: 92.14 kB / 1.267 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.113e-05/0.8387, allocations: 127.5 kB / 1.267 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.8387, allocations: 52.39 kB / 1.267 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.109e-05/0.8388, allocations: 82.12 kB / 1.267 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.8388, allocations: 99.39 kB / 1.267 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-05/0.8389, allocations: 90.34 kB / 1.267 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.482e-05/0.839, allocations: 338.4 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.8392, allocations: 139.8 kB / 1.268 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.8394, allocations: 218 kB / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.8399, allocations: 400.4 kB / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8399, allocations: 0 / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005324/0.8404, allocations: 442 kB / 1.269 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.8405, allocations: 11.16 kB / 1.269 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.8405, allocations: 1.531 kB / 1.269 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.8405, allocations: 3.906 kB / 1.269 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.8406, allocations: 20.47 kB / 1.269 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.8406, allocations: 7.016 kB / 1.269 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.8407, allocations: 39.36 kB / 1.269 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.8407, allocations: 8.281 kB / 1.269 GB, free: 4.023 MB / 0.9981 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.0001332/0.8408, allocations: 181.5 kB / 1.269 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.8409, allocations: 19.3 kB / 1.269 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.924e-05/0.8409, allocations: 11.2 kB / 1.269 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.8409, allocations: 1.641 kB / 1.269 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8409, allocations: 0.9062 kB / 1.269 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.8409, allocations: 48 / 1.269 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.479e-05/0.841, allocations: 184.9 kB / 1.269 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.841, allocations: 0 / 1.269 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/0.841, allocations: 3.109 kB / 1.269 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.841, allocations: 4.906 kB / 1.269 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.841, allocations: 1.422 kB / 1.269 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8411, allocations: 7.938 kB / 1.269 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8411, allocations: 5.984 kB / 1.269 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.8415, allocations: 414.2 kB / 1.269 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.8416, allocations: 97.36 kB / 1.27 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.8416, allocations: 27.41 kB / 1.27 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.717e-05/0.8416, allocations: 0.5625 kB / 1.27 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.8417, allocations: 3.234 kB / 1.27 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.8417, allocations: 1.188 kB / 1.27 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.469e-05/0.8417, allocations: 91.27 kB / 1.27 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8417, allocations: 0 / 1.27 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002949/0.842, allocations: 59.7 kB / 1.27 GB, free: 3.266 MB / 0.9981 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.0003945/0.8424, allocations: 225.9 kB / 1.27 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004076/0.8428, allocations: 307.7 kB / 1.27 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8428, allocations: 0 / 1.27 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.843, allocations: 106.9 kB / 1.27 GB, free: 3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.8431, allocations: 9.469 kB / 1.27 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.8435, allocations: 322 kB / 1.271 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.8436, allocations: 0.7138 MB / 1.271 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.8437, allocations: 13.31 kB / 1.271 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.8437, allocations: 1.594 kB / 1.271 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of Templates: time 0.004285/0.848, allocations: 2.3 MB / 1.274 GB, free: 1.82 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:time,y [Calling sys.exit(0), Time elapsed: 11.298401326872408]