Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Weibull1DOFF,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_latest_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.004148/0.004148, allocations: 98.94 kB / 15.73 MB, free: 6.039 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.001224/0.001224, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 64.12 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2783, allocations: 162.2 MB / 1.241 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002165/0.2805, allocations: 1.237 MB / 1.243 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008234/0.2813, allocations: 434.5 kB / 1.243 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.2814, allocations: 0 / 1.243 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.2814, allocations: 0 / 1.243 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.362e-05/0.2814, allocations: 7.922 kB / 1.243 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.2819, allocations: 111.6 kB / 1.243 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.71e-05/0.282, allocations: 27.91 kB / 1.243 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.282, allocations: 0 / 1.243 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.245e-05/0.2821, allocations: 12 kB / 1.243 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.761e-05/0.2821, allocations: 7.922 kB / 1.243 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.2821, allocations: 4 kB / 1.243 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.2824, allocations: 107.8 kB / 1.243 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.2824, allocations: 0 / 1.243 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.2824, allocations: 11.94 kB / 1.243 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.2826, allocations: 95.73 kB / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2826, allocations: 0 / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2826, allocations: 0 / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.2826, allocations: 4 kB / 1.243 GB, free: 8.203 MB / 0.9981 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.0004731/0.2831, allocations: 396.7 kB / 1.244 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.2831, allocations: 8.031 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.411e-05/0.2832, allocations: 30.75 kB / 1.244 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.2832, allocations: 12.92 kB / 1.244 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.2834, allocations: 176.2 kB / 1.244 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.2834, allocations: 4.375 kB / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.2834, allocations: 384 / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.2835, allocations: 46.25 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.2835, allocations: 3.938 kB / 1.244 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.2835, allocations: 0 / 1.244 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.2836, allocations: 0 / 1.244 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.406e-05/0.2836, allocations: 7.984 kB / 1.244 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.2839, allocations: 252.9 kB / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.268e-05/0.284, allocations: 38.5 kB / 1.244 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.2841, allocations: 16.86 kB / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/0.2841, allocations: 0 / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.2842, allocations: 63.48 kB / 1.244 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.2842, allocations: 0 / 1.244 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0002012/0.2844, allocations: 73.61 kB / 1.245 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.2845, allocations: 51.41 kB / 1.245 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.567e-05/0.2846, allocations: 113.8 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.2846, allocations: 29.69 kB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.2846, allocations: 84.14 kB / 1.245 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.2847, allocations: 11.89 kB / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.2847, allocations: 21.72 kB / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2849, allocations: 318.8 kB / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.2849, allocations: 4 kB / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.502e-05/0.2849, allocations: 39.42 kB / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.707e-05/0.285, allocations: 47.38 kB / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.285, allocations: 4.438 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001216/0.2851, allocations: 81.5 kB / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.2851, allocations: 4 kB / 1.245 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.2852, allocations: 96 / 1.245 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2852, allocations: 12.05 kB / 1.245 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.393e-05/0.2852, allocations: 11.94 kB / 1.245 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2853, allocations: 7.984 kB / 1.245 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.2853, allocations: 4 kB / 1.245 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.2853, allocations: 4 kB / 1.245 GB, free: 5.996 MB / 0.9981 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 8.392e-05/0.2854, allocations: 118.3 kB / 1.245 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.2854, allocations: 3.953 kB / 1.245 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.2854, allocations: 3.969 kB / 1.245 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2854, allocations: 8 kB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2855, allocations: 7.875 kB / 1.245 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2855, allocations: 0 / 1.245 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.2858, allocations: 298.6 kB / 1.246 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2858, allocations: 0 / 1.246 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.2858, allocations: 4 kB / 1.246 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2858, allocations: 0 / 1.246 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2858, allocations: 7.984 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2858, allocations: 0 / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2858, allocations: 0 / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.286, allocations: 167.4 kB / 1.246 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.286, allocations: 81.06 kB / 1.246 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.2861, allocations: 3.984 kB / 1.246 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-05/0.2861, allocations: 4 kB / 1.246 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.2861, allocations: 4 kB / 1.246 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2862, allocations: 0 / 1.246 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.024e-05/0.2862, allocations: 87.39 kB / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.2862, allocations: 0 / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002828/0.2865, allocations: 43.81 kB / 1.246 GB, free: 5.062 MB / 0.9981 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.0007203/0.2872, allocations: 0.7618 MB / 1.247 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.2874, allocations: 35.92 kB / 1.247 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2874, allocations: 7.875 kB / 1.247 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.39e-05/0.2874, allocations: 19.97 kB / 1.247 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.2876, allocations: 13.81 kB / 1.247 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.2888, allocations: 1.295 MB / 1.248 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.2891, allocations: 0.6768 MB / 1.249 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.774e-05/0.2891, allocations: 4 kB / 1.249 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.2891, allocations: 19.42 kB / 1.249 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.2891, allocations: 0 / 1.249 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.311, allocations: 2.102 MB / 1.251 GB, free: 100 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/7.961, allocations: 10.34 kB / 1.251 GB, free: 92 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches