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.001742/0.001742, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002321/0.002321, allocations: 186.8 kB / 22.22 MB, free: 5.105 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.329/1.329, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.937/2.937, allocations: 0.4893 GB / 0.7884 GB, free: 33.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.001931/0.001931, allocations: 64.27 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3431, allocations: 174.9 MB / 1.316 GB, free: 9.75 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002258/0.3454, allocations: 1.235 MB / 1.317 GB, free: 8.504 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009908/0.3464, allocations: 466.9 kB / 1.318 GB, free: 8.047 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.3464, allocations: 0 / 1.318 GB, free: 8.047 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.515e-05/0.3465, allocations: 3.938 kB / 1.318 GB, free: 8.043 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 1.95e-05/0.3465, allocations: 4 kB / 1.318 GB, free: 8.039 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.347, allocations: 115.5 kB / 1.318 GB, free: 7.926 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.812e-05/0.3471, allocations: 19.92 kB / 1.318 GB, free: 7.906 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.3471, allocations: 4 kB / 1.318 GB, free: 7.902 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.636e-05/0.3472, allocations: 15.98 kB / 1.318 GB, free: 7.887 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.896e-05/0.3472, allocations: 11.92 kB / 1.318 GB, free: 7.875 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3472, allocations: 4 kB / 1.318 GB, free: 7.871 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.3475, allocations: 143.7 kB / 1.318 GB, free: 7.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.3476, allocations: 27.92 kB / 1.318 GB, free: 7.703 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.3476, allocations: 27.69 kB / 1.318 GB, free: 7.676 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.3478, allocations: 147.3 kB / 1.318 GB, free: 7.531 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3479, allocations: 0 / 1.318 GB, free: 7.531 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3479, allocations: 0 / 1.318 GB, free: 7.531 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3479, allocations: 0 / 1.318 GB, free: 7.531 MB / 1.014 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.0005716/0.3484, allocations: 380.3 kB / 1.319 GB, free: 7.117 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3485, allocations: 8.031 kB / 1.319 GB, free: 7.109 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.3486, allocations: 16.78 kB / 1.319 GB, free: 7.094 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3487, allocations: 126.3 kB / 1.319 GB, free: 6.945 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3487, allocations: 384 / 1.319 GB, free: 6.945 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.3487, allocations: 384 / 1.319 GB, free: 6.945 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3489, allocations: 142.2 kB / 1.319 GB, free: 6.801 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.349, allocations: 192 / 1.319 GB, free: 6.801 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.349, allocations: 7.938 kB / 1.319 GB, free: 6.793 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.349, allocations: 0 / 1.319 GB, free: 6.793 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.443e-05/0.3491, allocations: 67.97 kB / 1.319 GB, free: 6.727 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.3493, allocations: 156.4 kB / 1.319 GB, free: 6.531 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.3494, allocations: 90.48 kB / 1.319 GB, free: 6.434 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.62e-05/0.3495, allocations: 64.89 kB / 1.319 GB, free: 6.367 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.3495, allocations: 0 / 1.319 GB, free: 6.367 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.3497, allocations: 183.1 kB / 1.319 GB, free: 6.176 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 1.153e-06/0.3497, allocations: 0 / 1.319 GB, free: 6.176 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.0006982/0.3504, allocations: 490.6 kB / 1.32 GB, free: 5.695 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.3505, allocations: 87.36 kB / 1.32 GB, free: 5.598 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.3506, allocations: 125.8 kB / 1.32 GB, free: 5.465 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.3507, allocations: 57.67 kB / 1.32 GB, free: 5.402 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.3507, allocations: 80.8 kB / 1.32 GB, free: 5.316 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.391e-05/0.3508, allocations: 103.3 kB / 1.32 GB, free: 5.215 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.649e-05/0.3509, allocations: 89.67 kB / 1.32 GB, free: 5.121 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3511, allocations: 338.8 kB / 1.321 GB, free: 4.781 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.3513, allocations: 136.6 kB / 1.321 GB, free: 4.648 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.3515, allocations: 213.3 kB / 1.321 GB, free: 4.422 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/0.352, allocations: 405.2 kB / 1.321 GB, free: 4.004 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.352, allocations: 4 kB / 1.321 GB, free: 4 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005615/0.3525, allocations: 442.4 kB / 1.322 GB, free: 3.562 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3525, allocations: 12.08 kB / 1.322 GB, free: 3.551 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3526, allocations: 8 kB / 1.322 GB, free: 3.543 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3526, allocations: 0 / 1.322 GB, free: 3.543 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3527, allocations: 19.94 kB / 1.322 GB, free: 3.523 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3527, allocations: 4 kB / 1.322 GB, free: 3.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.264e-05/0.3528, allocations: 31.67 kB / 1.322 GB, free: 3.488 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.3528, allocations: 16 kB / 1.322 GB, free: 3.473 MB / 1.014 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.0001955/0.353, allocations: 182.2 kB / 1.322 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.353, allocations: 19.77 kB / 1.322 GB, free: 3.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.353, allocations: 13.62 kB / 1.322 GB, free: 3.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.353, allocations: 4.031 kB / 1.322 GB, free: 3.246 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.353, allocations: 0 / 1.322 GB, free: 3.246 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.353, allocations: 0 / 1.322 GB, free: 3.246 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.3532, allocations: 156.6 kB / 1.322 GB, free: 3.051 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3532, allocations: 4 kB / 1.322 GB, free: 3.047 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/0.3532, allocations: 0 / 1.322 GB, free: 3.047 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.3532, allocations: 7.938 kB / 1.322 GB, free: 3.039 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3532, allocations: 0 / 1.322 GB, free: 3.039 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3532, allocations: 3.938 kB / 1.322 GB, free: 3.035 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3532, allocations: 0 / 1.322 GB, free: 3.035 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.3537, allocations: 410.5 kB / 1.323 GB, free: 2.617 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.3537, allocations: 15.84 kB / 1.323 GB, free: 2.602 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.3538, allocations: 31.92 kB / 1.323 GB, free: 2.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.634e-05/0.3538, allocations: 0 / 1.323 GB, free: 2.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.3538, allocations: 7.984 kB / 1.323 GB, free: 2.562 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3538, allocations: 4 kB / 1.323 GB, free: 2.559 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.414e-05/0.3539, allocations: 79.28 kB / 1.323 GB, free: 2.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3539, allocations: 0 / 1.323 GB, free: 2.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002723/0.3542, allocations: 59.86 kB / 1.323 GB, free: 2.422 MB / 1.014 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.0004649/0.3546, allocations: 210 kB / 1.323 GB, free: 2.223 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.355, allocations: 277.8 kB / 1.323 GB, free: 1.953 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.355, allocations: 0 / 1.323 GB, free: 1.953 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.349e-05/0.3551, allocations: 71.92 kB / 1.323 GB, free: 1.883 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.3553, allocations: 8.297 kB / 1.323 GB, free: 1.875 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.3557, allocations: 291 kB / 1.324 GB, free: 1.562 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.3561, allocations: 0.7123 MB / 1.324 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.625e-05/0.3561, allocations: 20.58 kB / 1.324 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.3561, allocations: 15.42 kB / 1.324 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.3561, allocations: 4 kB / 1.324 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of Templates: time 0.004941/0.3611, allocations: 1.789 MB / 1.326 GB, free: 15 MB / 1.029 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.19922489579767]