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.007215/0.007216, allocations: 101.4 kB / 15.73 MB, free: 6.035 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.001721/0.001721, allocations: 193.5 kB / 16.67 MB, free: 5.973 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.281/2.281, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 66 kB / 0.9504 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2558, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.003758/0.2596, allocations: 1.204 MB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009947/0.2607, allocations: 412.4 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.2607, allocations: 0 / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.2608, allocations: 0 / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.199e-05/0.2609, allocations: 4 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.2615, allocations: 103.7 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.811e-05/0.2616, allocations: 8 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.091e-05/0.2617, allocations: 7.984 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.2617, allocations: 11.92 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.823e-05/0.2618, allocations: 11.98 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.2618, allocations: 3.938 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.2621, allocations: 87.91 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.2621, allocations: 7.938 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.2621, allocations: 0 / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.2624, allocations: 91.81 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.2624, allocations: 3.984 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2624, allocations: 3.938 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.2624, allocations: 0 / 1.089 GB, free: 32 kB / 0.8419 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.0006443/0.263, allocations: 342.7 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.2631, allocations: 8.031 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.749e-05/0.2632, allocations: 39.3 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.2633, allocations: 8.844 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.2634, allocations: 166.1 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.2635, allocations: 384 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.2635, allocations: 8.359 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.2637, allocations: 46.19 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.2637, allocations: 11.92 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2637, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2637, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.2638, allocations: 7.938 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.2643, allocations: 245 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.2645, allocations: 38.5 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.2645, allocations: 16.8 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.2645, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.2648, allocations: 67.42 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.2648, allocations: 4 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002631/0.2651, allocations: 69.59 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.2652, allocations: 59.39 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.633e-05/0.2653, allocations: 93.86 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.2653, allocations: 33.7 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.2653, allocations: 80.14 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.2654, allocations: 11.83 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.2654, allocations: 25.72 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2656, allocations: 314.8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.2656, allocations: 11.98 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.311e-05/0.2657, allocations: 31.38 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.857e-05/0.2658, allocations: 51.42 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.2658, allocations: 3.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001203/0.2659, allocations: 77.7 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.2659, allocations: 8 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2659, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.266, allocations: 12.02 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.2661, allocations: 4 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2661, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.2661, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.2661, allocations: 4 kB / 1.091 GB, free: 13.91 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 0.000115/0.2662, allocations: 125.8 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.2663, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/0.2663, allocations: 7.547 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2663, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.2663, allocations: 4 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2663, allocations: 3.938 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.2667, allocations: 298.6 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2667, allocations: 4.312 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.2667, allocations: 3.984 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2667, allocations: 7.938 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.2668, allocations: 8 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2668, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2668, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.2669, allocations: 163.4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.267, allocations: 85.03 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.267, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.278e-05/0.2671, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.2671, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.2671, allocations: 12 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.673e-05/0.2672, allocations: 79.27 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2672, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003321/0.2675, allocations: 35.94 kB / 1.092 GB, free: 12.98 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.0009397/0.2685, allocations: 0.7601 MB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.2686, allocations: 36.16 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2687, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.774e-05/0.2687, allocations: 19.98 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.269, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.2702, allocations: 1.269 MB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.2705, allocations: 0.6767 MB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.2705, allocations: 7.984 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.2706, allocations: 11.44 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.2706, allocations: 0 / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.2894, allocations: 1.962 MB / 1.097 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.343, allocations: 13.31 kB / 1.097 GB, free: 8.227 MB / 0.8575 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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:k,lambda,seed,time,y