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.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.001339/0.001339, allocations: 109.2 kB / 16.45 MB, free: 6.035 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.001298/0.001298, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.539/1.539, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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 3.098/3.098, allocations: 497.2 MB / 0.7811 GB, free: 33.79 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 72.27 kB / 1.134 GB, free: 33.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.337, allocations: 173.9 MB / 1.304 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002504/0.3395, allocations: 1.227 MB / 1.305 GB, free: 408 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008393/0.3403, allocations: 395.1 kB / 1.306 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.3404, allocations: 7.938 kB / 1.306 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.99e-05/0.3404, allocations: 3.938 kB / 1.306 GB, free: 0 / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 1.925e-05/0.3405, allocations: 0 / 1.306 GB, free: 0 / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.3409, allocations: 103.7 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.608e-05/0.341, allocations: 15.98 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.013e-05/0.341, allocations: 4 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.789e-05/0.341, allocations: 0 / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.945e-05/0.3411, allocations: 15.91 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.3411, allocations: 4 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.3413, allocations: 99.83 kB / 1.306 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.3413, allocations: 23.92 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.3414, allocations: 23.75 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.3416, allocations: 115.7 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3416, allocations: 8 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3416, allocations: 3.938 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.3416, allocations: 0 / 1.306 GB, free: 15.59 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.000513/0.3421, allocations: 411.9 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3421, allocations: 8.625 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.133e-05/0.3422, allocations: 50.67 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.622e-05/0.3423, allocations: 8.891 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3424, allocations: 180.2 kB / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3424, allocations: 8.375 kB / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.3425, allocations: 4.375 kB / 1.307 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3426, allocations: 143.1 kB / 1.307 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3426, allocations: 3.938 kB / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3427, allocations: 3.984 kB / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3427, allocations: 0 / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.637e-05/0.3427, allocations: 63.92 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.3431, allocations: 280.6 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.3432, allocations: 94.48 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.032e-05/0.3433, allocations: 68.89 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.3433, allocations: 4 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.3436, allocations: 171.3 kB / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 1.392e-06/0.3436, allocations: 0 / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.0006582/0.3442, allocations: 488.3 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.3443, allocations: 87.38 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.495e-05/0.3444, allocations: 121.7 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.3445, allocations: 53.69 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.3445, allocations: 80.8 kB / 1.308 GB, free: 13.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.724e-05/0.3446, allocations: 99.3 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.3447, allocations: 90 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3448, allocations: 338.8 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.345, allocations: 136.9 kB / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.3452, allocations: 205.1 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005569/0.3458, allocations: 394.9 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.3458, allocations: 7.875 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005542/0.3464, allocations: 432.9 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3464, allocations: 4 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3464, allocations: 4.031 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3464, allocations: 4 kB / 1.31 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.3465, allocations: 19.94 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3465, allocations: 3.984 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.3466, allocations: 35.67 kB / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.3466, allocations: 19.94 kB / 1.31 GB, free: 11.27 MB / 1.014 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],$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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.0001809/0.3468, allocations: 181.8 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.3468, allocations: 11.91 kB / 1.31 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.3468, allocations: 9.219 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3468, allocations: 0 / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3468, allocations: 0 / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.3468, allocations: 4 kB / 1.31 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/0.3475, allocations: 0.6153 MB / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3475, allocations: 0 / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.3475, allocations: 4 kB / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3475, allocations: 7.922 kB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.3476, allocations: 4 kB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3476, allocations: 3.938 kB / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3476, allocations: 0 / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/0.3481, allocations: 475.8 kB / 1.311 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.3481, allocations: 92.95 kB / 1.311 GB, free: 9.781 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.3481, allocations: 27.98 kB / 1.311 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.471e-05/0.3482, allocations: 0 / 1.311 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.3482, allocations: 3.984 kB / 1.311 GB, free: 9.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.3482, allocations: 4 kB / 1.311 GB, free: 9.746 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.169e-05/0.3483, allocations: 79.28 kB / 1.311 GB, free: 9.668 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3483, allocations: 0 / 1.311 GB, free: 9.668 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003145/0.3486, allocations: 51.86 kB / 1.311 GB, free: 9.617 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: 35 ($whenCondition1,$outputAlias_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 (4): * Single equations (assignments): 3 * 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.001206/0.3498, allocations: 1.21 MB / 1.313 GB, free: 8.395 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003674/0.3502, allocations: 268.4 kB / 1.313 GB, free: 8.133 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3502, allocations: 0 / 1.313 GB, free: 8.133 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.3502, allocations: 71.98 kB / 1.313 GB, free: 8.062 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.3504, allocations: 7.984 kB / 1.313 GB, free: 8.055 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.3529, allocations: 2.452 MB / 1.315 GB, free: 5.504 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.3533, allocations: 0.7123 MB / 1.316 GB, free: 4.762 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.672e-05/0.3533, allocations: 24.62 kB / 1.316 GB, free: 4.738 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.3534, allocations: 35.44 kB / 1.316 GB, free: 4.707 MB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/0.3534, allocations: 3.938 kB / 1.316 GB, free: 4.703 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.3802, allocations: 3.065 MB / 1.319 GB, free: 1.785 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.374/8.754, allocations: 6.875 kB / 1.319 GB, free: 1.781 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" Variables in the reference:time,y Variables in the result:globalSeed,k,lambda,localSeed,time,y [Calling sys.exit(0), Time elapsed: 15.420354447793216]