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.004997/0.004997, allocations: 100.6 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.001159/0.001159, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.207/2.207, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.89 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7738/0.7752, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001856/0.7771, allocations: 1.229 MB / 1.089 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.7779, allocations: 449.1 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.7779, allocations: 1.094 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.7779, allocations: 0 / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.106e-05/0.778, allocations: 3.938 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.7785, allocations: 113 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.156e-05/0.7785, allocations: 21.03 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.7786, allocations: 3.594 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.046e-05/0.7786, allocations: 5.641 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.749e-05/0.7786, allocations: 14.16 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.7787, allocations: 1.344 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.7789, allocations: 103.3 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.7789, allocations: 10.39 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.7789, allocations: 12.75 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.7791, allocations: 98.91 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.7791, allocations: 5.094 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7791, allocations: 0 / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.7791, allocations: 0 / 1.089 GB, free: 3.965 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.0003622/0.7795, allocations: 384.8 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.7795, allocations: 9.609 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.7796, allocations: 37.44 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.7796, allocations: 3.25 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.264e-05/0.7797, allocations: 178.7 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.7797, allocations: 7.172 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.7797, allocations: 6.625 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.277e-05/0.7798, allocations: 38.19 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.7799, allocations: 5.188 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.7799, allocations: 4 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.7799, allocations: 1.25 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.356e-05/0.7799, allocations: 6.531 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.7801, allocations: 240.6 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/0.7802, allocations: 44.2 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.7803, allocations: 18.78 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.7803, allocations: 1.062 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.7804, allocations: 55.62 kB / 1.09 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.7804, allocations: 0 / 1.09 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001948/0.7806, allocations: 77.84 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.7807, allocations: 56.78 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.15e-05/0.7807, allocations: 112.1 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.7807, allocations: 31.61 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.7808, allocations: 82.05 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.7808, allocations: 10.52 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.7808, allocations: 20.88 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.758e-05/0.7809, allocations: 314.3 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.7809, allocations: 14.31 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.7809, allocations: 35.58 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.153e-05/0.781, allocations: 46.84 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.781, allocations: 5.219 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.697e-05/0.7811, allocations: 84.59 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.7811, allocations: 6.531 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.7811, allocations: 0 / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.7811, allocations: 3.234 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.7812, allocations: 8.719 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.7812, allocations: 1.953 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.7812, allocations: 9.281 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.7812, allocations: 2.656 kB / 1.091 GB, free: 2.055 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 4.742e-05/0.7813, allocations: 118 kB / 1.091 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.7813, allocations: 10.34 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.7813, allocations: 13.59 kB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7813, allocations: 1.25 kB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.7813, allocations: 0.6094 kB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.7814, allocations: 1.062 kB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.7815, allocations: 305.4 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7816, allocations: 1.125 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.689e-05/0.7816, allocations: 3.219 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7816, allocations: 1.25 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.7816, allocations: 0.7031 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7816, allocations: 5.031 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.7816, allocations: 0.5156 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.7817, allocations: 166.7 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.7818, allocations: 82.97 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.7818, allocations: 1.828 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.119e-05/0.7818, allocations: 0.5156 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.7818, allocations: 7.641 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.7819, allocations: 6.5 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.315e-05/0.7819, allocations: 85.72 kB / 1.092 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7819, allocations: 0 / 1.092 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002918/0.7822, allocations: 38.73 kB / 1.092 GB, free: 1.246 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.0005761/0.7828, allocations: 0.7763 MB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.7829, allocations: 28.16 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.7829, allocations: 0 / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.7829, allocations: 19.64 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.7832, allocations: 2.594 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009597/0.7841, allocations: 1.285 MB / 1.094 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.7843, allocations: 0.6798 MB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.858e-05/0.7844, allocations: 3.344 kB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.7844, allocations: 15.53 kB / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.7844, allocations: 0 / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.8028, allocations: 2.101 MB / 1.097 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/8.383, allocations: 13.2 kB / 1.097 GB, free: 14.09 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