Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",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.008602/0.008602, allocations: 99.92 kB / 15.73 MB, free: 6.016 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.002401/0.002401, allocations: 190.6 kB / 16.67 MB, free: 5.934 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.22/2.22, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7729/0.7743, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002507/0.7768, allocations: 1.234 MB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000859/0.7777, allocations: 446.3 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.7778, allocations: 0 / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.7778, allocations: 3.938 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.513e-05/0.7778, allocations: 1.219 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.7784, allocations: 116.2 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.291e-05/0.7785, allocations: 17.38 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.7785, allocations: 6.719 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.483e-05/0.7785, allocations: 9.5 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.037e-05/0.7786, allocations: 14.23 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.7786, allocations: 1.188 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.7788, allocations: 103.2 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.7788, allocations: 11.94 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.7789, allocations: 6.875 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.7791, allocations: 107.3 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.7791, allocations: 1.062 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.193e-06/0.7791, allocations: 0 / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.7791, allocations: 4 kB / 1.089 GB, free: 3.953 MB / 0.8575 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.0003664/0.7795, allocations: 386.2 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.7795, allocations: 9.5 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.7796, allocations: 33.8 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.7796, allocations: 7.047 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.058e-05/0.7797, allocations: 163.3 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.7797, allocations: 6.781 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.7797, allocations: 3.625 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.651e-05/0.7798, allocations: 40.98 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.7799, allocations: 5 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.7799, allocations: 0.6094 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.7799, allocations: 1.156 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.512e-05/0.7799, allocations: 13.05 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.7802, allocations: 245.3 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.549e-05/0.7803, allocations: 36.59 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.7803, allocations: 22.92 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.7803, allocations: 1.156 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.7805, allocations: 59.34 kB / 1.09 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.7805, allocations: 1.031 kB / 1.09 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002241/0.7807, allocations: 80.83 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.7808, allocations: 52.38 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.503e-05/0.7809, allocations: 113.4 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.7809, allocations: 26.42 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.7809, allocations: 85.72 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.7809, allocations: 19.36 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.781, allocations: 21.06 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.891e-05/0.781, allocations: 314.4 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.7811, allocations: 10.64 kB / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.256e-05/0.7811, allocations: 42.02 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.445e-05/0.7812, allocations: 48.44 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.7812, allocations: 3.938 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001095/0.7813, allocations: 69.52 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.7813, allocations: 5.781 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7813, allocations: 5.188 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.7814, allocations: 1.672 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.7815, allocations: 9.969 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.7815, allocations: 1.062 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.7815, allocations: 5.047 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.7815, allocations: 8.016 kB / 1.091 GB, free: 2.047 MB / 0.8575 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.291e-05/0.7816, allocations: 121 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.7816, allocations: 2.375 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.7816, allocations: 10.28 kB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.7816, allocations: 4.969 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7816, allocations: 0 / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.7817, allocations: 1.844 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.7819, allocations: 301.7 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.7819, allocations: 0.7031 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.901e-05/0.7819, allocations: 6.625 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.782, allocations: 5.641 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.782, allocations: 1.719 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.782, allocations: 0 / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.782, allocations: 2.031 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.7821, allocations: 169.4 kB / 1.092 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.7822, allocations: 78.88 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.7822, allocations: 1.734 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.217e-05/0.7823, allocations: 1.984 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.7823, allocations: 2.562 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.7823, allocations: 5.891 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.7824, allocations: 86.59 kB / 1.092 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7824, allocations: 4 kB / 1.092 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003564/0.7827, allocations: 41.3 kB / 1.092 GB, free: 1.238 MB / 0.8575 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.0007515/0.7835, allocations: 0.7802 MB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.7836, allocations: 36.27 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7837, allocations: 0 / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.704e-05/0.7837, allocations: 19.45 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.7839, allocations: 5.297 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009899/0.7849, allocations: 1.295 MB / 1.094 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.7852, allocations: 0.6795 MB / 1.095 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.045e-05/0.7852, allocations: 4.344 kB / 1.095 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.7852, allocations: 14.25 kB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.7852, allocations: 0 / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.802, allocations: 2.094 MB / 1.097 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/8.388, allocations: 7.047 kB / 1.097 GB, free: 14.08 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_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_Weibull1DON.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y