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.001938/0.001938, allocations: 100.9 kB / 16.45 MB, free: 6.449 MB / 14.72 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.002274/0.002274, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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.422/1.422, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 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.076/3.076, allocations: 0.505 GB / 0.8066 GB, free: 23.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: "" <> 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 65.45 kB / 1.172 GB, free: 17.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3514, allocations: 180.2 MB / 1.348 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002615/0.354, allocations: 1.233 MB / 1.349 GB, free: 8.789 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.355, allocations: 423 kB / 1.349 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.355, allocations: 0 / 1.349 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.3552, allocations: 3.938 kB / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.626e-05/0.3552, allocations: 0 / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.3558, allocations: 103.7 kB / 1.349 GB, free: 8.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.3559, allocations: 11.98 kB / 1.349 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.911e-05/0.3559, allocations: 11.98 kB / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.267e-05/0.356, allocations: 11.92 kB / 1.349 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.264e-05/0.356, allocations: 4 kB / 1.349 GB, free: 8.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.356, allocations: 3.938 kB / 1.349 GB, free: 8.227 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.3563, allocations: 99.88 kB / 1.35 GB, free: 8.129 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.3563, allocations: 23.88 kB / 1.35 GB, free: 8.105 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.3564, allocations: 31.72 kB / 1.35 GB, free: 8.074 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.3566, allocations: 119.7 kB / 1.35 GB, free: 7.957 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3566, allocations: 4 kB / 1.35 GB, free: 7.953 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3566, allocations: 3.938 kB / 1.35 GB, free: 7.949 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3566, allocations: 0 / 1.35 GB, free: 7.949 MB / 1.045 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.0005794/0.3572, allocations: 419.8 kB / 1.35 GB, free: 7.484 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3572, allocations: 11.98 kB / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.655e-05/0.3573, allocations: 46.72 kB / 1.35 GB, free: 7.418 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.082e-05/0.3574, allocations: 12.84 kB / 1.35 GB, free: 7.406 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3575, allocations: 172.3 kB / 1.35 GB, free: 7.199 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.3576, allocations: 384 / 1.35 GB, free: 7.199 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.3576, allocations: 12.36 kB / 1.35 GB, free: 7.188 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.3578, allocations: 142.2 kB / 1.351 GB, free: 7.043 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3578, allocations: 3.938 kB / 1.351 GB, free: 7.039 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3578, allocations: 3.984 kB / 1.351 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3578, allocations: 0 / 1.351 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.357e-05/0.3579, allocations: 67.92 kB / 1.351 GB, free: 6.969 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.3582, allocations: 276.7 kB / 1.351 GB, free: 6.648 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.3583, allocations: 94.48 kB / 1.351 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.114e-05/0.3584, allocations: 68.89 kB / 1.351 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.3584, allocations: 3.984 kB / 1.351 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.3587, allocations: 179.1 kB / 1.351 GB, free: 6.285 MB / 1.045 GB Notification: Performance of pre-optimization done (n=37): time 1.183e-06/0.3587, allocations: 0 / 1.351 GB, free: 6.285 MB / 1.045 GB Notification: Performance of matching and sorting (n=37): time 0.0006445/0.3593, allocations: 480.2 kB / 1.352 GB, free: 5.812 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/0.3594, allocations: 87.39 kB / 1.352 GB, free: 5.715 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3595, allocations: 117.8 kB / 1.352 GB, free: 5.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.3596, allocations: 49.69 kB / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.3596, allocations: 84.8 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.18e-05/0.3597, allocations: 95.3 kB / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.3598, allocations: 94 kB / 1.352 GB, free: 5.254 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.36, allocations: 334.8 kB / 1.352 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.3602, allocations: 144.8 kB / 1.353 GB, free: 4.777 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.3604, allocations: 201.1 kB / 1.353 GB, free: 4.559 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.3609, allocations: 398.8 kB / 1.353 GB, free: 4.152 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3609, allocations: 3.938 kB / 1.353 GB, free: 4.148 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005779/0.3615, allocations: 432.9 kB / 1.354 GB, free: 3.719 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3615, allocations: 10.03 kB / 1.354 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3615, allocations: 0 / 1.354 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3615, allocations: 4 kB / 1.354 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/0.3616, allocations: 15.92 kB / 1.354 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3616, allocations: 7.938 kB / 1.354 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.223e-05/0.3617, allocations: 47.62 kB / 1.354 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.3617, allocations: 8 kB / 1.354 GB, free: 3.629 MB / 1.045 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.0001842/0.3619, allocations: 185.8 kB / 1.354 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.3619, allocations: 3.953 kB / 1.354 GB, free: 3.438 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.362, allocations: 9.219 kB / 1.354 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.362, allocations: 288 / 1.354 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.362, allocations: 0 / 1.354 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.362, allocations: 4 kB / 1.354 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006711/0.3627, allocations: 0.6277 MB / 1.354 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3627, allocations: 0 / 1.354 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.3627, allocations: 11.92 kB / 1.355 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3627, allocations: 0 / 1.355 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.3627, allocations: 0 / 1.355 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3627, allocations: 4 kB / 1.355 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3627, allocations: 0 / 1.355 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.3632, allocations: 478.8 kB / 1.355 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.3633, allocations: 92.95 kB / 1.355 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.3633, allocations: 27.92 kB / 1.355 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.411e-05/0.3633, allocations: 0 / 1.355 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.3634, allocations: 3.984 kB / 1.355 GB, free: 2.102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.3634, allocations: 4 kB / 1.355 GB, free: 2.098 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.006e-05/0.3634, allocations: 79.28 kB / 1.355 GB, free: 2.02 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3634, allocations: 0 / 1.355 GB, free: 2.02 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003003/0.3637, allocations: 51.86 kB / 1.355 GB, free: 1.969 MB / 1.045 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.001265/0.365, allocations: 1.201 MB / 1.356 GB, free: 0.75 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003757/0.3654, allocations: 264.9 kB / 1.357 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3654, allocations: 0 / 1.357 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.409e-05/0.3655, allocations: 71.98 kB / 1.357 GB, free: 432 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.3657, allocations: 3.984 kB / 1.357 GB, free: 428 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.3682, allocations: 2.476 MB / 1.359 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.3686, allocations: 0.7123 MB / 1.36 GB, free: 13.1 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.872e-05/0.3686, allocations: 20.64 kB / 1.36 GB, free: 13.08 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.3687, allocations: 35.44 kB / 1.36 GB, free: 13.05 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.3687, allocations: 3.938 kB / 1.36 GB, free: 13.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.3946, allocations: 3.118 MB / 1.363 GB, free: 10.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.415, allocations: 8.406 kB / 1.363 GB, free: 10.07 MB / 1.061 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/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: 14.835180609021336]