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.001234/0.001234, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001197/0.001197, allocations: 193.3 kB / 16.26 MB, free: 6.152 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.223/1.223, allocations: 222.9 MB / 239.9 MB, free: 4.391 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.128/2.128, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4844/0.4856, allocations: 140.4 MB / 0.9492 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.00176/0.4874, allocations: 1.279 MB / 0.9505 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005788/0.488, allocations: 446 kB / 0.9509 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.808e-05/0.488, allocations: 0 / 0.9509 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.4881, allocations: 5.312 kB / 0.9509 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.826e-05/0.4881, allocations: 0 / 0.9509 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.4885, allocations: 98.94 kB / 0.951 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.411e-05/0.4886, allocations: 18.17 kB / 0.951 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.4886, allocations: 9.25 kB / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.741e-05/0.4886, allocations: 8.094 kB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.211e-05/0.4886, allocations: 15.8 kB / 0.9511 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.4887, allocations: 1.188 kB / 0.9511 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.4888, allocations: 104.7 kB / 0.9512 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.4888, allocations: 5.234 kB / 0.9512 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.4889, allocations: 12.09 kB / 0.9512 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.489, allocations: 99.58 kB / 0.9513 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.489, allocations: 0 / 0.9513 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.489, allocations: 0 / 0.9513 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.489, allocations: 0 / 0.9513 GB, free: 7.555 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.0003077/0.4894, allocations: 389.3 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.4894, allocations: 10.38 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.4894, allocations: 38.64 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.4895, allocations: 3.312 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.936e-05/0.4895, allocations: 169.6 kB / 0.9518 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.4895, allocations: 6.969 kB / 0.9519 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.4896, allocations: 2.562 kB / 0.9519 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.212e-05/0.4896, allocations: 44.88 kB / 0.9519 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.4897, allocations: 7.938 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.4897, allocations: 3.984 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4897, allocations: 5.25 kB / 0.9519 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.879e-05/0.4897, allocations: 4.125 kB / 0.9519 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.4899, allocations: 248.5 kB / 0.9522 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.109e-05/0.49, allocations: 37.56 kB / 0.9522 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.49, allocations: 21.48 kB / 0.9522 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/0.49, allocations: 4.031 kB / 0.9522 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.753e-05/0.4901, allocations: 57.55 kB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.4902, allocations: 0 / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001698/0.4903, allocations: 74.11 kB / 0.9523 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.4904, allocations: 52.62 kB / 0.9524 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.302e-05/0.4904, allocations: 109.7 kB / 0.9525 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.4904, allocations: 27.52 kB / 0.9525 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.687e-05/0.4904, allocations: 88.08 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.4905, allocations: 11.22 kB / 0.9526 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.4905, allocations: 22.7 kB / 0.9526 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.986e-05/0.4905, allocations: 316.2 kB / 0.9529 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.4905, allocations: 5.906 kB / 0.9529 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/0.4906, allocations: 44.06 kB / 0.953 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/0.4906, allocations: 45.47 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4906, allocations: 3.938 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.146e-05/0.4907, allocations: 74.83 kB / 0.9531 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.4907, allocations: 5.781 kB / 0.9531 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4907, allocations: 2.156 kB / 0.9531 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.4908, allocations: 13.73 kB / 0.9531 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.93e-05/0.4908, allocations: 10.55 kB / 0.9531 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.4908, allocations: 5.281 kB / 0.9531 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.4908, allocations: 9.25 kB / 0.9532 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4909, allocations: 3.219 kB / 0.9532 GB, free: 5.562 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 4.069e-05/0.4909, allocations: 116.2 kB / 0.9533 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.4909, allocations: 2.719 kB / 0.9533 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.647e-05/0.4909, allocations: 3.969 kB / 0.9533 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.4909, allocations: 5 kB / 0.9533 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.4909, allocations: 1.844 kB / 0.9533 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.491, allocations: 0 / 0.9533 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.4911, allocations: 314.3 kB / 0.9536 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4911, allocations: 0 / 0.9536 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.459e-05/0.4911, allocations: 8.125 kB / 0.9536 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4912, allocations: 3.984 kB / 0.9536 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.4912, allocations: 1.375 kB / 0.9536 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4912, allocations: 0 / 0.9536 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4912, allocations: 0 / 0.9536 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.944e-05/0.4913, allocations: 169.1 kB / 0.9538 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.4913, allocations: 82.16 kB / 0.9538 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.4913, allocations: 1.312 kB / 0.9538 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.847e-05/0.4914, allocations: 0 / 0.9538 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.4914, allocations: 3.062 kB / 0.9538 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.4914, allocations: 1.875 kB / 0.9538 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.991e-05/0.4914, allocations: 90.08 kB / 0.9539 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4914, allocations: 5.469 kB / 0.9539 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002534/0.4917, allocations: 39.59 kB / 0.954 GB, free: 4.727 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.0004369/0.4921, allocations: 0.7676 MB / 0.9547 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.513e-05/0.4922, allocations: 40.55 kB / 0.9548 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4922, allocations: 0.9688 kB / 0.9548 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.4923, allocations: 16.81 kB / 0.9548 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.4925, allocations: 2.875 kB / 0.9548 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.4931, allocations: 1.292 MB / 0.956 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.296e-05/0.4932, allocations: 0.6831 MB / 0.9567 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.696e-05/0.4932, allocations: 2.656 kB / 0.9567 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.4933, allocations: 13.97 kB / 0.9567 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.4933, allocations: 0 / 0.9567 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.504, allocations: 1.999 MB / 0.9587 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001228/0.5041, allocations: 247.7 kB / 0.9589 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.107, allocations: 0 / 0.9589 GB, free: 0.6992 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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