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.00103/0.00103, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009845/0.0009845, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.208/1.208, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.108/2.108, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 71.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4921/0.4933, allocations: 140.3 MB / 0.9492 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001857/0.4952, allocations: 1.288 MB / 0.9505 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006473/0.4959, allocations: 449 kB / 0.9509 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.4959, allocations: 1.25 kB / 0.9509 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.4959, allocations: 3.938 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.219e-05/0.496, allocations: 0 / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.4964, allocations: 90.8 kB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.593e-05/0.4965, allocations: 25.91 kB / 0.951 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.375e-05/0.4965, allocations: 2.594 kB / 0.951 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.858e-05/0.4965, allocations: 12.19 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.285e-05/0.4966, allocations: 10.89 kB / 0.9511 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.4966, allocations: 5.375 kB / 0.9511 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.4968, allocations: 108.9 kB / 0.9512 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.4968, allocations: 2.031 kB / 0.9512 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.4968, allocations: 15.02 kB / 0.9512 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.497, allocations: 91.75 kB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.497, allocations: 0 / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.497, allocations: 0 / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.497, allocations: 0 / 0.9513 GB, free: 7.492 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.0003301/0.4973, allocations: 382 kB / 0.9516 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.4974, allocations: 13.62 kB / 0.9516 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.4974, allocations: 42.64 kB / 0.9517 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.4974, allocations: 3.562 kB / 0.9517 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.555e-05/0.4975, allocations: 165.7 kB / 0.9518 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.4975, allocations: 5.594 kB / 0.9519 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.4975, allocations: 2.938 kB / 0.9519 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.735e-05/0.4976, allocations: 49.36 kB / 0.9519 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4976, allocations: 3.938 kB / 0.9519 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.4976, allocations: 0 / 0.9519 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.4977, allocations: 5.406 kB / 0.9519 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.939e-05/0.4977, allocations: 7.594 kB / 0.9519 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.4979, allocations: 252.3 kB / 0.9522 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.164e-05/0.498, allocations: 42.47 kB / 0.9522 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.337e-05/0.4981, allocations: 21.34 kB / 0.9522 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.4981, allocations: 0 / 0.9522 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.4982, allocations: 57.25 kB / 0.9523 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.4982, allocations: 0 / 0.9523 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001782/0.4984, allocations: 74.39 kB / 0.9523 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.4984, allocations: 56.53 kB / 0.9524 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.655e-05/0.4985, allocations: 105.9 kB / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.4985, allocations: 27.02 kB / 0.9525 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.971e-05/0.4985, allocations: 89.8 kB / 0.9526 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.4985, allocations: 8.906 kB / 0.9526 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.4985, allocations: 23.89 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.591e-05/0.4986, allocations: 316.3 kB / 0.9529 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.4986, allocations: 8.984 kB / 0.953 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.657e-05/0.4986, allocations: 31.72 kB / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.853e-05/0.4987, allocations: 58.12 kB / 0.953 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4987, allocations: 3.938 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.53e-05/0.4988, allocations: 71.41 kB / 0.9531 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.4988, allocations: 5.844 kB / 0.9531 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4988, allocations: 1.5 kB / 0.9531 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4988, allocations: 1.25 kB / 0.9531 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.309e-05/0.4989, allocations: 15.11 kB / 0.9531 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4989, allocations: 6.312 kB / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.4989, allocations: 9.125 kB / 0.9531 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.4989, allocations: 6.562 kB / 0.9532 GB, free: 5.504 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.582e-05/0.499, allocations: 117.4 kB / 0.9533 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.499, allocations: 1.438 kB / 0.9533 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.499, allocations: 9.141 kB / 0.9533 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.499, allocations: 1.281 kB / 0.9533 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.499, allocations: 0 / 0.9533 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.499, allocations: 3.938 kB / 0.9533 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.4992, allocations: 310.8 kB / 0.9536 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4992, allocations: 0 / 0.9536 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.4993, allocations: 7.312 kB / 0.9536 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4993, allocations: 0 / 0.9536 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.4993, allocations: 1 kB / 0.9536 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4993, allocations: 1.25 kB / 0.9536 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4993, allocations: 0 / 0.9536 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.4994, allocations: 172.4 kB / 0.9537 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.4994, allocations: 78.17 kB / 0.9538 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.4994, allocations: 0.9375 kB / 0.9538 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.92e-05/0.4995, allocations: 4.969 kB / 0.9538 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.4995, allocations: 1.094 kB / 0.9538 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.4995, allocations: 6.797 kB / 0.9538 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.012e-05/0.4995, allocations: 83.5 kB / 0.9539 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4995, allocations: 0 / 0.9539 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002703/0.4998, allocations: 40.23 kB / 0.954 GB, free: 4.676 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.0004719/0.5003, allocations: 0.7828 MB / 0.9547 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.5004, allocations: 36.3 kB / 0.9548 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5004, allocations: 4.125 kB / 0.9548 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.5005, allocations: 16.94 kB / 0.9548 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.5007, allocations: 7.172 kB / 0.9548 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007033/0.5014, allocations: 1.293 MB / 0.956 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.081e-05/0.5015, allocations: 0.6846 MB / 0.9567 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.715e-05/0.5015, allocations: 1.375 kB / 0.9567 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.5015, allocations: 17.58 kB / 0.9567 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5015, allocations: 0 / 0.9567 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.5273, allocations: 1.978 MB / 0.9587 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.5275, allocations: 255.9 kB / 0.9589 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.118, allocations: 0 / 0.9589 GB, free: 0.6406 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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:L,dt,k,seed,time,u,x,y