Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.001721/0.001721, 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.002046/0.002046, 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.632/2.632, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.89 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5608, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002192/0.563, allocations: 1.233 MB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008097/0.5639, allocations: 446.5 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.5639, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.5639, allocations: 3.938 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.884e-05/0.564, allocations: 4 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.5645, allocations: 115.6 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.446e-05/0.5646, allocations: 19.92 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.5646, allocations: 3.938 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.5646, allocations: 8 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.833e-05/0.5647, allocations: 11.92 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.5647, allocations: 4 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.5649, allocations: 99.89 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.5649, allocations: 7.984 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.5649, allocations: 7.938 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.5651, allocations: 103.8 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.5651, allocations: 0 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5651, allocations: 0 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.5651, allocations: 0 / 1.019 GB, free: 400 kB / 0.7637 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.0004375/0.5656, allocations: 399.3 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5656, allocations: 8.031 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/0.5657, allocations: 38.64 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.5657, allocations: 8.938 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.5658, allocations: 164.3 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.5659, allocations: 12.38 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.5659, allocations: 384 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.946e-05/0.566, allocations: 38.25 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.566, allocations: 7.875 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.566, allocations: 7.984 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.566, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.5661, allocations: 4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.5663, allocations: 248.9 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.073e-05/0.5664, allocations: 38.5 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.5665, allocations: 16.86 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-06/0.5665, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.5666, allocations: 63.42 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.5667, allocations: 4 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001946/0.5669, allocations: 73.67 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.5669, allocations: 51.41 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.567, allocations: 105.8 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.567, allocations: 29.7 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.567, allocations: 84.14 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.567, allocations: 11.81 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.5671, allocations: 29.64 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.5672, allocations: 314.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.5672, allocations: 8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.5672, allocations: 35.42 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.28e-05/0.5673, allocations: 51.36 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5673, allocations: 3.938 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001012/0.5674, allocations: 77.61 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.5674, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5675, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5675, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.5675, allocations: 7.984 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.5676, allocations: 7.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.5676, allocations: 16.28 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.5676, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 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.25e-05/0.5677, allocations: 121.8 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.5677, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.5677, allocations: 7.969 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5677, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5677, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5677, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.568, allocations: 306.5 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.568, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/0.568, allocations: 4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.568, allocations: 4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.568, allocations: 3.984 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.568, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5681, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.5682, allocations: 167.4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.5682, allocations: 81.09 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.5683, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.027e-05/0.5683, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.5683, allocations: 12 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.5684, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.5684, allocations: 83.27 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5684, allocations: 3.938 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002863/0.5687, allocations: 39.94 kB / 1.022 GB, free: 13.26 MB / 0.7794 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.0006189/0.5693, allocations: 0.7764 MB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.5694, allocations: 31.92 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5695, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.5695, allocations: 19.94 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.5697, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009734/0.5707, allocations: 1.289 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.5709, allocations: 0.6768 MB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.707e-05/0.5709, allocations: 4 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.5709, allocations: 15.44 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.571, allocations: 0 / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.5882, allocations: 2.067 MB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.397, allocations: 5.984 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_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_Weibull1DOFF.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches