Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.373/2.373, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 67.89 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6812/0.6827, allocations: 140.4 MB / 0.9497 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002332/0.6851, allocations: 1.205 MB / 0.9509 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000753/0.6858, allocations: 412.2 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.6859, allocations: 0 / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.6859, allocations: 0 / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.703e-05/0.6859, allocations: 5.5 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.6864, allocations: 97.95 kB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.243e-05/0.6865, allocations: 18.95 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.6865, allocations: 2.281 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2e-05/0.6866, allocations: 8.031 kB / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.859e-05/0.6866, allocations: 14.8 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.6866, allocations: 0 / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.6868, allocations: 91.03 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.6868, allocations: 8.672 kB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.6869, allocations: 6.219 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.687, allocations: 86.69 kB / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.687, allocations: 0 / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.687, allocations: 0 / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.687, allocations: 0 / 0.9516 GB, free: 7.594 MB / 0.7169 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.0003761/0.6874, allocations: 348.5 kB / 0.9519 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6875, allocations: 10.34 kB / 0.9519 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.975e-05/0.6875, allocations: 36.98 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.6876, allocations: 3.625 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.4e-05/0.6876, allocations: 164.4 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.6876, allocations: 1.781 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.6877, allocations: 3 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.746e-05/0.6878, allocations: 48.36 kB / 0.9522 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.6878, allocations: 3.938 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.6878, allocations: 5.594 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6878, allocations: 0 / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.754e-05/0.6878, allocations: 3.531 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.6881, allocations: 247.9 kB / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.426e-05/0.6882, allocations: 37.09 kB / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.6882, allocations: 20.52 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.6882, allocations: 5.469 kB / 0.9525 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.6884, allocations: 56.77 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.6884, allocations: 0 / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001867/0.6886, allocations: 69.81 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.6886, allocations: 56.67 kB / 0.9527 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.204e-05/0.6887, allocations: 101.6 kB / 0.9528 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.6887, allocations: 30.89 kB / 0.9528 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.6887, allocations: 85.45 kB / 0.9529 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.6887, allocations: 25.02 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.6888, allocations: 20.53 kB / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.889e-05/0.6888, allocations: 316.1 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.6888, allocations: 8.391 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.144e-05/0.6889, allocations: 32.22 kB / 0.9533 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.297e-05/0.6889, allocations: 61.84 kB / 0.9533 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6889, allocations: 5.062 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.596e-05/0.689, allocations: 70.88 kB / 0.9534 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.6891, allocations: 4.375 kB / 0.9534 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6891, allocations: 5.297 kB / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6891, allocations: 1.312 kB / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.6892, allocations: 15.78 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6892, allocations: 1.156 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.6892, allocations: 6.875 kB / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.6892, allocations: 2.312 kB / 0.9534 GB, free: 5.66 MB / 0.7169 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 6.754e-05/0.6893, allocations: 116.2 kB / 0.9535 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.6893, allocations: 1.25 kB / 0.9535 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.6893, allocations: 8.766 kB / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.6893, allocations: 1.344 kB / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6894, allocations: 256 / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6894, allocations: 4 kB / 0.9536 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.6895, allocations: 306.7 kB / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6896, allocations: 0 / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.6896, allocations: 6.922 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.6896, allocations: 1.062 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.6896, allocations: 0 / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6896, allocations: 1.75 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6896, allocations: 0 / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.6897, allocations: 163.5 kB / 0.954 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.6898, allocations: 85.97 kB / 0.9541 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.6898, allocations: 1.25 kB / 0.9541 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.6898, allocations: 1.312 kB / 0.9541 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.141e-05/0.6899, allocations: 5.531 kB / 0.9541 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.6899, allocations: 1.562 kB / 0.9541 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.338e-05/0.6899, allocations: 84.92 kB / 0.9542 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.32e-07/0.6899, allocations: 1.562 kB / 0.9542 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000278/0.6902, allocations: 31.75 kB / 0.9542 GB, free: 4.844 MB / 0.7169 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.0005851/0.6908, allocations: 0.7799 MB / 0.955 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.6909, allocations: 45.08 kB / 0.955 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6909, allocations: 0 / 0.955 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.691, allocations: 21.45 kB / 0.955 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.6912, allocations: 2.438 kB / 0.9551 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008234/0.692, allocations: 1.246 MB / 0.9563 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.6921, allocations: 0.6823 MB / 0.9569 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.6922, allocations: 7.141 kB / 0.9569 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.6922, allocations: 13.03 kB / 0.957 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6922, allocations: 5.344 kB / 0.957 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.7092, allocations: 1.922 MB / 0.9588 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/8.364, allocations: 14.34 kB / 0.9588 GB, free: 1.07 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y