Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001685/0.001685, allocations: 107.2 kB / 16.45 MB, free: 6.508 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.001978/0.001978, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.925/2.925, allocations: 476.7 MB / 0.7672 GB, free: 5.199 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_11_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.002028/0.002028, allocations: 60.19 kB / 1.112 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9123/0.9144, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002802/0.9172, allocations: 1.235 MB / 1.279 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.9182, allocations: 428.5 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.9182, allocations: 0 / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.9183, allocations: 3.938 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.9183, allocations: 0 / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.919, allocations: 107.6 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.696e-05/0.919, allocations: 15.98 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.9191, allocations: 0 / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.9191, allocations: 11.92 kB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.878e-05/0.9191, allocations: 8 kB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.9191, allocations: 0 / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.9194, allocations: 111.8 kB / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.853e-05/0.9195, allocations: 3.938 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.9195, allocations: 8 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.9197, allocations: 89.58 kB / 1.28 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.9197, allocations: 0 / 1.28 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9197, allocations: 4 kB / 1.28 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.9197, allocations: 3.984 kB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005733/0.9203, allocations: 351.3 kB / 1.281 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.9203, allocations: 8.031 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.073e-05/0.9204, allocations: 38.67 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.9205, allocations: 4.938 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.9206, allocations: 164.3 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.9206, allocations: 4.375 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.9206, allocations: 12.31 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.9208, allocations: 34.25 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.9208, allocations: 3.938 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.9208, allocations: 7.984 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.9208, allocations: 0 / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.539e-05/0.9208, allocations: 8 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.9212, allocations: 240.9 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.9214, allocations: 42.5 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.9214, allocations: 16.86 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.9214, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.9216, allocations: 63.42 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.9216, allocations: 0 / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002228/0.9218, allocations: 73.62 kB / 1.281 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/0.9219, allocations: 63.39 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.922, allocations: 97.86 kB / 1.281 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.922, allocations: 25.7 kB / 1.281 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.922, allocations: 80.14 kB / 1.281 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.9221, allocations: 15.91 kB / 1.281 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.9221, allocations: 25.64 kB / 1.282 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.9223, allocations: 310.8 kB / 1.282 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.85e-05/0.9223, allocations: 15.98 kB / 1.282 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.72e-05/0.9223, allocations: 37.12 kB / 1.282 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.131e-05/0.9224, allocations: 47.36 kB / 1.282 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.9224, allocations: 3.938 kB / 1.282 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001219/0.9226, allocations: 73.56 kB / 1.282 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.9226, allocations: 10.41 kB / 1.282 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9226, allocations: 0 / 1.282 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.9226, allocations: 8.234 kB / 1.282 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.9227, allocations: 8 kB / 1.282 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.9227, allocations: 4 kB / 1.282 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.9227, allocations: 7.953 kB / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.9227, allocations: 4 kB / 1.282 GB, free: 9.273 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$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 (8): * Single equations (assignments): 8 * Array equations: 0 * 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.0001097/0.9228, allocations: 121.7 kB / 1.282 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.9228, allocations: 0 / 1.282 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.9229, allocations: 15.55 kB / 1.282 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.9229, allocations: 4 kB / 1.282 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9229, allocations: 3.938 kB / 1.282 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.9229, allocations: 0 / 1.282 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.9232, allocations: 298.6 kB / 1.282 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.9232, allocations: 0 / 1.282 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/0.9233, allocations: 7.984 kB / 1.282 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.9233, allocations: 0 / 1.282 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.9233, allocations: 0 / 1.282 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.9233, allocations: 0 / 1.282 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.9233, allocations: 7.938 kB / 1.282 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.9235, allocations: 159.5 kB / 1.283 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.9236, allocations: 89.05 kB / 1.283 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.9236, allocations: 4 kB / 1.283 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/0.9236, allocations: 0 / 1.283 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.9237, allocations: 288 / 1.283 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.9237, allocations: 4 kB / 1.283 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.394e-05/0.9237, allocations: 87.25 kB / 1.283 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9237, allocations: 0 / 1.283 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003149/0.924, allocations: 35.88 kB / 1.283 GB, free: 8.348 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008903/0.9249, allocations: 0.7717 MB / 1.284 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.9251, allocations: 31.92 kB / 1.284 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9251, allocations: 0 / 1.284 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.9251, allocations: 15.98 kB / 1.284 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.9253, allocations: 0 / 1.284 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.9266, allocations: 1.274 MB / 1.285 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.927, allocations: 0.6845 MB / 1.286 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.974e-05/0.927, allocations: 0 / 1.286 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.927, allocations: 15.44 kB / 1.286 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.927, allocations: 96 / 1.286 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.9594, allocations: 2.028 MB / 1.288 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.622/9.581, allocations: 11.78 kB / 1.288 GB, free: 3.527 MB / 0.9825 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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:time,y [Calling sys.exit(0), Time elapsed: 15.947251885896549]