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 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.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.001255/0.001255, allocations: 103.4 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.001182/0.001182, allocations: 192.8 kB / 16.25 MB, free: 6.621 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.5/2.5, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.55 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.226, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002139/0.2282, allocations: 1.298 MB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007972/0.229, allocations: 451 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.229, allocations: 3.938 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.2291, allocations: 0 / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.2291, allocations: 0 / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.2296, allocations: 95.78 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.21e-05/0.2297, allocations: 27.86 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.2297, allocations: 4 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.827e-05/0.2297, allocations: 4 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.893e-05/0.2298, allocations: 19.91 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.729e-06/0.2298, allocations: 0 / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.23, allocations: 99.83 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.23, allocations: 8 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.23, allocations: 7.938 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.2302, allocations: 103.8 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2302, allocations: 4 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2302, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2302, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 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.0003937/0.2306, allocations: 385.3 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2307, allocations: 12.62 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.2307, allocations: 34.73 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.2307, allocations: 0.9375 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.098e-05/0.2308, allocations: 168.3 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2309, allocations: 8.375 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.2309, allocations: 8.312 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.359e-05/0.231, allocations: 34.25 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.231, allocations: 3.938 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.231, allocations: 11.98 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.231, allocations: 0 / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.044e-05/0.2311, allocations: 7.938 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.2313, allocations: 245 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.571e-05/0.2314, allocations: 46.44 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.2315, allocations: 16.86 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.2315, allocations: 3.984 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.2316, allocations: 55.48 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.2316, allocations: 0 / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001937/0.2318, allocations: 81.61 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.2319, allocations: 55.41 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.208e-05/0.232, allocations: 110.1 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.232, allocations: 29.7 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.232, allocations: 84.05 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.232, allocations: 19.83 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.2321, allocations: 21.7 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.2323, allocations: 314.8 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.2323, allocations: 12 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.2324, allocations: 35.42 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.618e-05/0.2324, allocations: 51.38 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2324, allocations: 3.938 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001014/0.2325, allocations: 77.52 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2325, allocations: 4 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2326, allocations: 7.938 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2326, allocations: 0 / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.534e-05/0.2326, allocations: 15.92 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2326, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.2327, allocations: 8 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2327, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 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.865e-05/0.2328, allocations: 113.8 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.2328, allocations: 8.062 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.2328, allocations: 7.969 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2328, allocations: 0 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2328, allocations: 0 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2328, allocations: 0 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.2331, allocations: 306.4 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2331, allocations: 0 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.64e-05/0.2331, allocations: 4 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2331, allocations: 3.984 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/0.2331, allocations: 8 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2331, allocations: 3.938 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2331, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.2333, allocations: 163.7 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.2333, allocations: 85.03 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.2333, allocations: 4.062 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.981e-05/0.2334, allocations: 4 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.2334, allocations: 4 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.2334, allocations: 8 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.2334, allocations: 83.27 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2335, allocations: 0 / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002709/0.2337, allocations: 39.94 kB / 1.057 GB, free: 3.414 MB / 0.8106 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.0007223/0.2345, allocations: 0.778 MB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.2346, allocations: 31.92 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2346, allocations: 0 / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-05/0.2346, allocations: 19.94 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.2349, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.236, allocations: 1.289 MB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.2363, allocations: 0.6806 MB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.2364, allocations: 4 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.2364, allocations: 15.44 kB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.2364, allocations: 4 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.572/1.808, allocations: 1.986 MB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/1.809, allocations: 257.8 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/3.659, allocations: 1.25 kB / 1.062 GB, free: 14.34 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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