Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_10_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.007807/0.007807, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.88 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3226, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002349/0.325, allocations: 1.209 MB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009266/0.326, allocations: 410.9 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.326, allocations: 0 / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.326, allocations: 0 / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.266e-05/0.3261, allocations: 3.984 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.3266, allocations: 103.7 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.532e-05/0.3267, allocations: 15.98 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.3267, allocations: 3.984 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.398e-05/0.3268, allocations: 7.984 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.983e-05/0.3268, allocations: 19.86 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.3268, allocations: 0 / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.327, allocations: 95.89 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.3271, allocations: 4 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.3271, allocations: 3.938 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.3273, allocations: 84.09 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3273, allocations: 3.938 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.306e-06/0.3273, allocations: 0 / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3273, allocations: 3.938 kB / 1.168 GB, free: 5.332 MB / 0.92 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.0005197/0.3278, allocations: 355.3 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3279, allocations: 8.031 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.3279, allocations: 34.75 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.328, allocations: 4.891 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3281, allocations: 168.3 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3281, allocations: 8.375 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.3282, allocations: 384 / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.3283, allocations: 38.25 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3283, allocations: 3.938 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.3283, allocations: 0 / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3283, allocations: 8 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.751e-05/0.3284, allocations: 15.92 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.3287, allocations: 241 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.698e-05/0.3288, allocations: 38.45 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.3289, allocations: 16.94 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.3289, allocations: 4 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.329, allocations: 59.34 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.3291, allocations: 0 / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002055/0.3293, allocations: 73.67 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.3293, allocations: 51.41 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.682e-05/0.3294, allocations: 101.8 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3294, allocations: 29.7 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.3295, allocations: 92.09 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.3295, allocations: 3.953 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.3295, allocations: 25.7 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3297, allocations: 314.8 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.3297, allocations: 8 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.871e-05/0.3298, allocations: 39.36 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.924e-05/0.3298, allocations: 47.56 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3298, allocations: 11.86 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001135/0.33, allocations: 77.56 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.33, allocations: 4 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.33, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.33, allocations: 4 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.3301, allocations: 15.98 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.3301, allocations: 4.062 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.3301, allocations: 0 / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3301, allocations: 4.156 kB / 1.17 GB, free: 3.199 MB / 0.92 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 9.338e-05/0.3302, allocations: 125.7 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.3303, allocations: 0 / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.3303, allocations: 3.562 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3303, allocations: 4 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3303, allocations: 0 / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3303, allocations: 0 / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.3306, allocations: 314.5 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3306, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.3306, allocations: 4.25 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3306, allocations: 4 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3307, allocations: 4 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3307, allocations: 3.984 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3307, allocations: 3.984 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.3308, allocations: 163.4 kB / 1.17 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.3309, allocations: 81.11 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.3309, allocations: 4 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.331, allocations: 3.984 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.331, allocations: 0 / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.331, allocations: 4 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.3311, allocations: 79.28 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3311, allocations: 0 / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002836/0.3314, allocations: 35.86 kB / 1.171 GB, free: 2.273 MB / 0.92 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.0007627/0.3321, allocations: 0.7717 MB / 1.171 GB, free: 1.484 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.3323, allocations: 35.92 kB / 1.171 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3323, allocations: 0 / 1.171 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.3323, allocations: 12.12 kB / 1.171 GB, free: 1.438 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.3325, allocations: 5.719 kB / 1.171 GB, free: 1.434 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.3337, allocations: 1.257 MB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3341, allocations: 0.6768 MB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.582e-05/0.3341, allocations: 8 kB / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.3341, allocations: 11.42 kB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.3341, allocations: 4 kB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.3584, allocations: 1.964 MB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.669/9.027, allocations: 12.02 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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