Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.WeibullVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_latest_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.001274/0.001275, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001208/0.001208, allocations: 198.2 kB / 16.14 MB, free: 6.574 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.613/2.613, allocations: 461.9 MB / 0.7342 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 64.23 kB / 0.8985 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2947, allocations: 157.4 MB / 1.052 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002338/0.297, allocations: 1.278 MB / 1.053 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000805/0.2979, allocations: 418.7 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.2979, allocations: 3.938 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.298, allocations: 0 / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.346e-05/0.298, allocations: 0 / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.2985, allocations: 83.8 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.797e-05/0.2985, allocations: 19.92 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.2986, allocations: 0 / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/0.2986, allocations: 7.984 kB / 1.054 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.711e-05/0.2986, allocations: 15.92 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.2986, allocations: 0 / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.2988, allocations: 87.84 kB / 1.054 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.2988, allocations: 4 kB / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.2989, allocations: 4 kB / 1.054 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.299, allocations: 87.81 kB / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2991, allocations: 0 / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2991, allocations: 4 kB / 1.054 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.2991, allocations: 0 / 1.054 GB, free: 6.141 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.000404/0.2995, allocations: 347.5 kB / 1.054 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2995, allocations: 15.91 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.285e-05/0.2996, allocations: 39.02 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.2996, allocations: 8.844 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.381e-05/0.2997, allocations: 164.3 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2997, allocations: 384 / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.2997, allocations: 8.375 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.97e-05/0.2998, allocations: 38.25 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2999, allocations: 3.938 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.2999, allocations: 7.984 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2999, allocations: 0 / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.234e-05/0.2999, allocations: 7.938 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.3002, allocations: 241 kB / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.436e-05/0.3003, allocations: 42.5 kB / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.3003, allocations: 16.84 kB / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-06/0.3003, allocations: 0 / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.3005, allocations: 67.42 kB / 1.055 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3005, allocations: 0 / 1.055 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.000178/0.3007, allocations: 69.69 kB / 1.055 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3007, allocations: 55.41 kB / 1.055 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.369e-05/0.3008, allocations: 101.8 kB / 1.055 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3008, allocations: 29.7 kB / 1.055 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/0.3008, allocations: 84.14 kB / 1.055 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.3009, allocations: 3.906 kB / 1.055 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.3009, allocations: 29.7 kB / 1.055 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.301, allocations: 310.8 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.301, allocations: 15.92 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.431e-05/0.3011, allocations: 39.38 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.004e-05/0.3011, allocations: 47.42 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3012, allocations: 3.938 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.837e-05/0.3013, allocations: 73.47 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3013, allocations: 12.06 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3013, allocations: 256 / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.3013, allocations: 0 / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.3014, allocations: 15.98 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3014, allocations: 4 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.3014, allocations: 3.938 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.3014, allocations: 7.938 kB / 1.056 GB, free: 4.004 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 7.144e-05/0.3015, allocations: 117.7 kB / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.3015, allocations: 4 kB / 1.056 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.941e-05/0.3015, allocations: 11.56 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.3016, allocations: 3.984 kB / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3016, allocations: 0 / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3016, allocations: 0 / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.3018, allocations: 298.6 kB / 1.056 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3018, allocations: 0 / 1.056 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.3018, allocations: 4 kB / 1.056 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3018, allocations: 3.984 kB / 1.056 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3019, allocations: 0 / 1.056 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3019, allocations: 11.94 kB / 1.056 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3019, allocations: 288 / 1.056 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.302, allocations: 167.4 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.3021, allocations: 85.08 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.3021, allocations: 0 / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.256e-05/0.3021, allocations: 4 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.3022, allocations: 4 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.3022, allocations: 0 / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.231e-05/0.3022, allocations: 87.27 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3022, allocations: 0 / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002713/0.3025, allocations: 31.94 kB / 1.057 GB, free: 3.09 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.0006238/0.3031, allocations: 0.7657 MB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.212e-05/0.3032, allocations: 35.92 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3032, allocations: 0 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-05/0.3033, allocations: 16 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.3035, allocations: 6.297 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/0.3044, allocations: 1.263 MB / 1.059 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.3047, allocations: 0.677 MB / 1.059 GB, free: 196 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.169e-05/0.3047, allocations: 4 kB / 1.059 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.3047, allocations: 19.42 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.3047, allocations: 0 / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.3175, allocations: 1.82 MB / 1.061 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.3177, allocations: 265.2 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.061, allocations: 5 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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