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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 108 kB / 15.6 MB, free: 132 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.002061/0.002061, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.06 kB / 0.9082 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3547, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.003565/0.3583, allocations: 1.215 MB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3596, allocations: 404.4 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.3597, allocations: 3.938 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.3597, allocations: 0 / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.3598, allocations: 0 / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000737/0.3606, allocations: 103.6 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.026e-05/0.3606, allocations: 11.98 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.436e-05/0.3607, allocations: 4 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.123e-05/0.3607, allocations: 11.94 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.3608, allocations: 7.969 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.3608, allocations: 4 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.3611, allocations: 95.78 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.3612, allocations: 7.984 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.3612, allocations: 7.938 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.3615, allocations: 79.83 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3615, allocations: 4 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3615, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3615, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8262 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.0005622/0.3621, allocations: 347.6 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.3621, allocations: 11.97 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.3622, allocations: 34.94 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.3623, allocations: 4.938 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.3624, allocations: 172.3 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3625, allocations: 4.375 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.3625, allocations: 4.375 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.3626, allocations: 42.25 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3627, allocations: 3.938 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3627, allocations: 0 / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3627, allocations: 0 / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.748e-05/0.3627, allocations: 7.938 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.3631, allocations: 252.9 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.569e-05/0.3633, allocations: 38.5 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.3633, allocations: 20.94 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.3633, allocations: 0 / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.3635, allocations: 55.41 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3635, allocations: 3.938 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002212/0.3637, allocations: 81.58 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.3638, allocations: 51.41 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.713e-05/0.3639, allocations: 101.8 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3639, allocations: 29.7 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.3639, allocations: 80.14 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.3639, allocations: 7.906 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.364, allocations: 21.72 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.3641, allocations: 314.8 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.3641, allocations: 12 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.3642, allocations: 35.42 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.3642, allocations: 47.38 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3642, allocations: 3.938 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001051/0.3643, allocations: 81.45 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3644, allocations: 8 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3644, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3644, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.045e-05/0.3645, allocations: 8 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3645, allocations: 7.938 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.3645, allocations: 3.938 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3645, allocations: 12.23 kB / 1.067 GB, free: 10.48 MB / 0.8262 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 7.298e-05/0.3646, allocations: 118.2 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.3646, allocations: 4.062 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.3646, allocations: 7.562 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3647, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3647, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3647, allocations: 4.281 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.3649, allocations: 302.5 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3649, allocations: 0 / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.365, allocations: 4 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.365, allocations: 7.922 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.365, allocations: 8 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.365, allocations: 0 / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.365, allocations: 4.094 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.3651, allocations: 163.5 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.3652, allocations: 77.11 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3652, allocations: 4 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.296e-05/0.3652, allocations: 4 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.3653, allocations: 3.984 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.3653, allocations: 8 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.3653, allocations: 75.28 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3653, allocations: 0 / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002689/0.3656, allocations: 35.92 kB / 1.068 GB, free: 9.566 MB / 0.8262 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.0006353/0.3662, allocations: 0.7703 MB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.3664, allocations: 31.92 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3664, allocations: 0 / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-05/0.3664, allocations: 19.98 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.3666, allocations: 1.125 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.3677, allocations: 1.261 MB / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.3679, allocations: 0.6768 MB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.477e-05/0.3679, allocations: 4 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.3679, allocations: 11.38 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3679, allocations: 4 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.3859, allocations: 1.938 MB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.346, allocations: 5.109 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB (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 50 --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) 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) "" Variables in the reference:time,y Variables in the result:time,y