Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_latest_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.001345/0.001345, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001322/0.001322, allocations: 195 kB / 16.14 MB, free: 6.648 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.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.555/2.555, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.62 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2854, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002727/0.2882, allocations: 1.294 MB / 1.053 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.2892, allocations: 454.5 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.2892, allocations: 8 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.2892, allocations: 0 / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.952e-05/0.2893, allocations: 3.938 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.2899, allocations: 91.78 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.29, allocations: 23.86 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.29, allocations: 4 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.293e-05/0.29, allocations: 7.984 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.972e-05/0.2901, allocations: 7.938 kB / 1.054 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.2901, allocations: 0 / 1.054 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.2903, allocations: 103.9 kB / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.2904, allocations: 7.984 kB / 1.054 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.2904, allocations: 15.92 kB / 1.054 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.2906, allocations: 95.75 kB / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2906, allocations: 0 / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2906, allocations: 0 / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.2906, allocations: 0 / 1.054 GB, free: 6.145 MB / 0.8106 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.0004962/0.2911, allocations: 389.4 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.2912, allocations: 11.97 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.096e-05/0.2913, allocations: 38.73 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.2913, allocations: 8.938 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2914, allocations: 168.3 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.2915, allocations: 4.375 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.2915, allocations: 384 / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.2916, allocations: 50.22 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2916, allocations: 3.938 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2916, allocations: 0 / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2917, allocations: 3.938 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.62e-05/0.2917, allocations: 4 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.292, allocations: 249 kB / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.2922, allocations: 38.5 kB / 1.055 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.2922, allocations: 20.94 kB / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.2922, allocations: 0 / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.2924, allocations: 63.34 kB / 1.055 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.2924, allocations: 3.938 kB / 1.055 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002202/0.2926, allocations: 73.67 kB / 1.055 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.2927, allocations: 51.41 kB / 1.055 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.2928, allocations: 105.8 kB / 1.055 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.2928, allocations: 25.7 kB / 1.055 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.2928, allocations: 92.05 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.2929, allocations: 7.844 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.2929, allocations: 29.7 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.293, allocations: 314.8 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.377e-05/0.2931, allocations: 15.92 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.858e-05/0.2931, allocations: 31.44 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.913e-05/0.2932, allocations: 55.36 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.2932, allocations: 3.938 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001086/0.2933, allocations: 77.53 kB / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2933, allocations: 5.875 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2933, allocations: 3.938 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2933, allocations: 4 kB / 1.056 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.2934, allocations: 7.984 kB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.2934, allocations: 7.938 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.486e-05/0.2935, allocations: 0 / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2935, allocations: 8.562 kB / 1.056 GB, free: 3.941 MB / 0.8106 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 8.613e-05/0.2936, allocations: 117.8 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.2936, allocations: 96 / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.2936, allocations: 7.953 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.2936, allocations: 7.984 kB / 1.056 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2936, allocations: 0 / 1.056 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2936, allocations: 4 kB / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.2939, allocations: 310.4 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2939, allocations: 7.984 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.294, allocations: 4 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.294, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.294, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.294, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.294, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.2942, allocations: 163.5 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.2942, allocations: 85.05 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.2942, allocations: 0 / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.018e-05/0.2943, allocations: 4 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.2943, allocations: 7.938 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.2943, allocations: 0 / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.2944, allocations: 87.27 kB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2944, allocations: 0 / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002929/0.2947, allocations: 39.92 kB / 1.057 GB, free: 3.012 MB / 0.8106 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.0007216/0.2954, allocations: 0.779 MB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.2955, allocations: 35.92 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2955, allocations: 0 / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.906e-05/0.2956, allocations: 8 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.2958, allocations: 8.125 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.2969, allocations: 1.289 MB / 1.059 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.2971, allocations: 0.6809 MB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.2972, allocations: 4 kB / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.2972, allocations: 15.44 kB / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of SimCode: time 2.495e-06/0.2972, allocations: 0 / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.31, allocations: 1.957 MB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000349/0.3104, allocations: 257.2 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.055, allocations: 0 / 1.062 GB, free: 13.95 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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