Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",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.005711/0.005711, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001184/0.001184, allocations: 199.1 kB / 16.67 MB, free: 5.52 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.18 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.214/2.214, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 59.91 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.896/0.8973, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002299/0.8996, allocations: 1.213 MB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008785/0.9005, allocations: 397 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.9006, allocations: 1.125 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.9006, allocations: 0 / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.793e-05/0.9007, allocations: 8.438 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.9013, allocations: 94.8 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.39e-05/0.9014, allocations: 23 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.035e-05/0.9014, allocations: 1.828 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.841e-05/0.9015, allocations: 5.844 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.796e-05/0.9015, allocations: 20.73 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.9015, allocations: 4.969 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.9018, allocations: 95.12 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.9018, allocations: 2.266 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.9018, allocations: 7.344 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.9021, allocations: 81.77 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.9021, allocations: 0.9062 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9021, allocations: 0 / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.9021, allocations: 0 / 1.089 GB, free: 4.047 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.0005076/0.9026, allocations: 346.7 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.9027, allocations: 13.06 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/0.9027, allocations: 39.44 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.9028, allocations: 7 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.893e-05/0.9028, allocations: 163.4 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.9029, allocations: 5.438 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.9029, allocations: 2.594 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.903, allocations: 45.91 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.903, allocations: 3.938 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.903, allocations: 0.875 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.903, allocations: 0.6562 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.9031, allocations: 9.516 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.9034, allocations: 244.1 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.734e-05/0.9035, allocations: 40.41 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.9035, allocations: 14.94 kB / 1.09 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.9035, allocations: 0 / 1.09 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.9037, allocations: 67.84 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.9037, allocations: 0 / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002158/0.9039, allocations: 75.83 kB / 1.09 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.904, allocations: 56.91 kB / 1.09 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.233e-05/0.904, allocations: 100 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.9041, allocations: 31.36 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.275e-05/0.9041, allocations: 81.14 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.9041, allocations: 15.28 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.9042, allocations: 25 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.9042, allocations: 313.3 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.9043, allocations: 12.27 kB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/0.9043, allocations: 33.06 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.054e-05/0.9044, allocations: 52.64 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.9044, allocations: 3.938 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001207/0.9045, allocations: 72.81 kB / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.9045, allocations: 5.969 kB / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.9045, allocations: 5.672 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.9046, allocations: 1.156 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.657e-05/0.9046, allocations: 17.59 kB / 1.091 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.9046, allocations: 1.094 kB / 1.091 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.9047, allocations: 6.156 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.9047, allocations: 2.594 kB / 1.091 GB, free: 2.176 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.955e-05/0.9048, allocations: 117.6 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.9048, allocations: 1.219 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.9048, allocations: 5.984 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.9048, allocations: 1.344 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9048, allocations: 0 / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.9048, allocations: 0.5156 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.9051, allocations: 312.9 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9051, allocations: 64 / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/0.9051, allocations: 8.109 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.9051, allocations: 0.7969 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.9051, allocations: 1.984 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9051, allocations: 0 / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.9051, allocations: 0.9062 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.9053, allocations: 166.6 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.9053, allocations: 82.05 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.9053, allocations: 5.953 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.245e-05/0.9054, allocations: 1 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.9054, allocations: 6.297 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.9054, allocations: 2.906 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.676e-05/0.9055, allocations: 80.08 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9055, allocations: 0 / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000307/0.9058, allocations: 34.39 kB / 1.092 GB, free: 1.383 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.000739/0.9065, allocations: 0.7665 MB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.9066, allocations: 36.45 kB / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9067, allocations: 3.938 kB / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.118e-05/0.9067, allocations: 23.08 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.9069, allocations: 5.109 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.908, allocations: 1.256 MB / 1.094 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.9083, allocations: 0.681 MB / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.252e-05/0.9083, allocations: 8.172 kB / 1.095 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.9084, allocations: 9.875 kB / 1.095 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.9084, allocations: 0.5625 kB / 1.095 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.9269, allocations: 1.973 MB / 1.097 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.645, allocations: 7.469 kB / 1.097 GB, free: 14.27 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_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_WeibullVariableGeneration.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y