Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Weibull1DOFF,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_9_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.001122/0.001122, 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.001108/0.001108, allocations: 193.8 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.333/2.333, allocations: 390.2 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.91 kB / 0.8126 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7041, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002349/0.7065, allocations: 1.221 MB / 0.9509 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.7074, allocations: 445.1 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.861e-05/0.7075, allocations: 0 / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.7075, allocations: 0 / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.06e-05/0.7075, allocations: 5.844 kB / 0.9513 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005715/0.7081, allocations: 109.8 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.874e-05/0.7082, allocations: 21.7 kB / 0.9515 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.7083, allocations: 5.297 kB / 0.9515 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.7083, allocations: 13.06 kB / 0.9515 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.184e-05/0.7083, allocations: 10.98 kB / 0.9515 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.7083, allocations: 1.156 kB / 0.9515 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.7085, allocations: 103.8 kB / 0.9516 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.7086, allocations: 6.703 kB / 0.9516 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.7086, allocations: 10.31 kB / 0.9516 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.7088, allocations: 99.64 kB / 0.9517 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7088, allocations: 5.438 kB / 0.9517 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7088, allocations: 0 / 0.9517 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.739e-06/0.7088, allocations: 0 / 0.9517 GB, free: 7.66 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.0003936/0.7092, allocations: 388.3 kB / 0.9521 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.7093, allocations: 9.719 kB / 0.9521 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.7093, allocations: 40.12 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.7093, allocations: 3.531 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.835e-05/0.7094, allocations: 169.8 kB / 0.9523 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.7094, allocations: 5.469 kB / 0.9523 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.7095, allocations: 2.656 kB / 0.9523 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.7096, allocations: 45.28 kB / 0.9523 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.7096, allocations: 3.938 kB / 0.9523 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.7096, allocations: 1.344 kB / 0.9523 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.7096, allocations: 3.938 kB / 0.9523 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.359e-05/0.7097, allocations: 8.078 kB / 0.9524 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/0.7099, allocations: 252.1 kB / 0.9526 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.365e-05/0.71, allocations: 46.25 kB / 0.9526 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.7101, allocations: 17.39 kB / 0.9527 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.7101, allocations: 3.984 kB / 0.9527 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.7102, allocations: 57.36 kB / 0.9527 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.7102, allocations: 0 / 0.9527 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001981/0.7104, allocations: 78.25 kB / 0.9528 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.7105, allocations: 61.73 kB / 0.9528 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.595e-05/0.7105, allocations: 100.6 kB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.7105, allocations: 26.8 kB / 0.953 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.7106, allocations: 85.56 kB / 0.953 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.7106, allocations: 14.34 kB / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.7106, allocations: 18.56 kB / 0.9531 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.172e-05/0.7107, allocations: 321.5 kB / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.7107, allocations: 9.406 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.7107, allocations: 35.05 kB / 0.9534 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.267e-05/0.7108, allocations: 46.44 kB / 0.9535 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7108, allocations: 3.938 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.434e-05/0.7109, allocations: 75.27 kB / 0.9535 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.7109, allocations: 4.719 kB / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7109, allocations: 1.062 kB / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.7109, allocations: 1.219 kB / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.711, allocations: 16.84 kB / 0.9536 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.711, allocations: 0.9375 kB / 0.9536 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.7111, allocations: 8.812 kB / 0.9536 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.7111, allocations: 3.406 kB / 0.9536 GB, free: 5.676 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.006e-05/0.7111, allocations: 124.3 kB / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.7111, allocations: 6.844 kB / 0.9537 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.7112, allocations: 3.969 kB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7112, allocations: 1.5 kB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.7112, allocations: 0 / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7112, allocations: 0 / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.7114, allocations: 303.4 kB / 0.954 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.7114, allocations: 0 / 0.954 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.7114, allocations: 11.44 kB / 0.954 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.7114, allocations: 0 / 0.954 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.7114, allocations: 5.562 kB / 0.954 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.7114, allocations: 1.562 kB / 0.954 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7115, allocations: 3.984 kB / 0.954 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.7116, allocations: 167.9 kB / 0.9542 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.7116, allocations: 78.52 kB / 0.9543 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.7116, allocations: 5.406 kB / 0.9543 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.05e-05/0.7117, allocations: 3.984 kB / 0.9543 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.7117, allocations: 1.312 kB / 0.9543 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.7117, allocations: 6.312 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.799e-05/0.7118, allocations: 83.69 kB / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7118, allocations: 0 / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003019/0.7121, allocations: 36.48 kB / 0.9544 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.0005637/0.7126, allocations: 0.7838 MB / 0.9552 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.7128, allocations: 37.64 kB / 0.9552 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7128, allocations: 0 / 0.9552 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.739e-05/0.7128, allocations: 16.8 kB / 0.9552 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.713, allocations: 6.812 kB / 0.9552 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007578/0.7138, allocations: 1.273 MB / 0.9565 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.534e-05/0.7139, allocations: 0.6837 MB / 0.9571 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.825e-05/0.7139, allocations: 6.047 kB / 0.9571 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.7139, allocations: 17.75 kB / 0.9571 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.714, allocations: 0 / 0.9571 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.732, allocations: 2.073 MB / 0.9592 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/8.366, allocations: 4.031 kB / 0.9592 GB, free: 0.957 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches