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.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.001644/0.001644, allocations: 111.3 kB / 17.08 MB, free: 6.012 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.001614/0.001614, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.412/1.412, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] 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.864/2.864, allocations: 489.3 MB / 0.7687 GB, free: 3.848 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.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 0.001915/0.001915, allocations: 71.89 kB / 1.103 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8788/0.8808, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001938/0.8827, allocations: 1.242 MB / 1.264 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007689/0.8835, allocations: 442.8 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.8836, allocations: 0.8125 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.683e-05/0.8836, allocations: 4.547 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 1.619e-05/0.8837, allocations: 0.8438 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.8841, allocations: 121.2 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.092e-05/0.8842, allocations: 18.95 kB / 1.264 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.8842, allocations: 3.094 kB / 1.264 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.8843, allocations: 14.67 kB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.687e-05/0.8843, allocations: 9.938 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.8843, allocations: 1.531 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.8845, allocations: 104 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.8846, allocations: 27.33 kB / 1.264 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.8846, allocations: 28.91 kB / 1.265 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.8848, allocations: 141 kB / 1.265 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8849, allocations: 1.469 kB / 1.265 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8849, allocations: 0 / 1.265 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8849, allocations: 0 / 1.265 GB, free: 6.668 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.000396/0.8853, allocations: 457.4 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.8853, allocations: 9.25 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.8854, allocations: 15.39 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.667e-05/0.8855, allocations: 181.6 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.8855, allocations: 5.688 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.8855, allocations: 2.969 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.8857, allocations: 148.3 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.8857, allocations: 192 / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.8857, allocations: 8.688 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.8858, allocations: 0.8125 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.342e-05/0.8858, allocations: 60.66 kB / 1.265 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.886, allocations: 185.8 kB / 1.266 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.8861, allocations: 116.8 kB / 1.266 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/0.8862, allocations: 105.1 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.8862, allocations: 0 / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.8864, allocations: 176.2 kB / 1.266 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.222e-06/0.8864, allocations: 1.281 kB / 1.266 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.0006667/0.8871, allocations: 491.2 kB / 1.267 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.8872, allocations: 87.33 kB / 1.267 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.8872, allocations: 136.4 kB / 1.267 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.8873, allocations: 51.36 kB / 1.267 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.8873, allocations: 83.34 kB / 1.267 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/0.8874, allocations: 97.81 kB / 1.267 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/0.8875, allocations: 87.59 kB / 1.267 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.39e-05/0.8875, allocations: 338.5 kB / 1.267 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.8877, allocations: 139 kB / 1.267 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.8879, allocations: 214.6 kB / 1.268 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.8884, allocations: 399.4 kB / 1.268 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8884, allocations: 4.812 kB / 1.268 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005515/0.8889, allocations: 441.6 kB / 1.268 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.889, allocations: 11.02 kB / 1.269 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.889, allocations: 0.7188 kB / 1.269 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.889, allocations: 3.531 kB / 1.269 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.8891, allocations: 20.09 kB / 1.269 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.8891, allocations: 3.438 kB / 1.269 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.415e-05/0.8892, allocations: 35.3 kB / 1.269 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.8892, allocations: 16.28 kB / 1.269 GB, free: 4.086 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.0001505/0.8894, allocations: 174.6 kB / 1.269 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.8894, allocations: 15.08 kB / 1.269 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.8894, allocations: 15.2 kB / 1.269 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.8894, allocations: 0.8125 kB / 1.269 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8895, allocations: 0.875 kB / 1.269 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.8895, allocations: 0.6094 kB / 1.269 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.8896, allocations: 181 kB / 1.269 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.8896, allocations: 0.5156 kB / 1.269 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.195e-05/0.8896, allocations: 3.031 kB / 1.269 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.8896, allocations: 7.875 kB / 1.269 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.8896, allocations: 1.531 kB / 1.269 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.8896, allocations: 4.875 kB / 1.269 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8896, allocations: 0 / 1.269 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.8901, allocations: 422.8 kB / 1.269 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.8902, allocations: 97.95 kB / 1.269 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.8902, allocations: 27.2 kB / 1.269 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.675e-05/0.8902, allocations: 1.281 kB / 1.269 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.8903, allocations: 2.281 kB / 1.269 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.8903, allocations: 6.766 kB / 1.27 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.893e-05/0.8903, allocations: 87.27 kB / 1.27 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8903, allocations: 4 kB / 1.27 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002992/0.8906, allocations: 51.83 kB / 1.27 GB, free: 3.332 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.0004122/0.891, allocations: 219.6 kB / 1.27 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000447/0.8915, allocations: 312.3 kB / 1.27 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8915, allocations: 0 / 1.27 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.8916, allocations: 111 kB / 1.27 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.8918, allocations: 6.469 kB / 1.27 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.8922, allocations: 323.3 kB / 1.271 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.8923, allocations: 0.7186 MB / 1.271 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.8924, allocations: 13.22 kB / 1.271 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.8924, allocations: 4.75 kB / 1.271 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of Templates: time 0.00462/0.897, allocations: 2.207 MB / 1.273 GB, free: 1.895 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.352958829142153]