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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001308/0.001308, 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.001383/0.001384, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.797/2.797, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 65.19 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3811, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002599/0.3837, allocations: 1.286 MB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008167/0.3846, allocations: 410.7 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.3846, allocations: 0 / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.3846, allocations: 4 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.345e-05/0.3847, allocations: 3.984 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.3853, allocations: 83.8 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.978e-05/0.3854, allocations: 8 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.3854, allocations: 0 / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.728e-05/0.3854, allocations: 19.91 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.533e-05/0.3855, allocations: 4 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.3855, allocations: 0 / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.3857, allocations: 95.84 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.3857, allocations: 3.984 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.3858, allocations: 15.94 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.386, allocations: 83.81 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.386, allocations: 0 / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.386, allocations: 0 / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.386, allocations: 0 / 1.054 GB, free: 6.656 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.000474/0.3865, allocations: 347.6 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3865, allocations: 8.625 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.565e-05/0.3866, allocations: 35.03 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.3866, allocations: 4.844 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.3868, allocations: 176.2 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3868, allocations: 4.375 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.3868, allocations: 4.375 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.3869, allocations: 38.25 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3869, allocations: 3.938 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.3869, allocations: 0 / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.387, allocations: 0 / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.387, allocations: 15.92 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.3873, allocations: 252.9 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.631e-05/0.3874, allocations: 34.52 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.3875, allocations: 16.94 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.3875, allocations: 4 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.3876, allocations: 55.41 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.462e-06/0.3877, allocations: 4 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002078/0.3879, allocations: 77.61 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3879, allocations: 55.41 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.335e-05/0.388, allocations: 105.8 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.388, allocations: 25.7 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.3881, allocations: 80.14 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.3881, allocations: 7.906 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.3881, allocations: 25.7 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.3882, allocations: 314.8 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.3883, allocations: 12 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.729e-05/0.3883, allocations: 35.42 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.582e-05/0.3884, allocations: 47.55 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3884, allocations: 7.938 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001075/0.3885, allocations: 81.45 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3885, allocations: 4 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3885, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3885, allocations: 4 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.376e-05/0.3886, allocations: 11.98 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3886, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.3887, allocations: 7.938 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.3887, allocations: 4 kB / 1.056 GB, free: 4.523 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.976e-05/0.3888, allocations: 117.8 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.3888, allocations: 0 / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.381e-05/0.3888, allocations: 7.562 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3888, allocations: 4 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3888, allocations: 3.938 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3888, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.3891, allocations: 302.5 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3891, allocations: 0 / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.3891, allocations: 0 / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3891, allocations: 11.94 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.3891, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3891, allocations: 320 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3891, allocations: 3.938 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.3893, allocations: 175.3 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.3893, allocations: 81.11 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3893, allocations: 4 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.945e-05/0.3894, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.3894, allocations: 7.984 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.3894, allocations: 4 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.912e-05/0.3895, allocations: 75.28 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3895, allocations: 0 / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002799/0.3898, allocations: 39.92 kB / 1.057 GB, free: 3.605 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.00063/0.3904, allocations: 0.7693 MB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.3905, allocations: 35.92 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3905, allocations: 0 / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.252e-05/0.3906, allocations: 12 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.3908, allocations: 4 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009757/0.3918, allocations: 1.265 MB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.392, allocations: 0.6807 MB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.239e-05/0.392, allocations: 0 / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.392, allocations: 19.38 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of SimCode: time 3.6e-07/0.392, allocations: 0 / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5793/0.9714, allocations: 1.868 MB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/0.9717, allocations: 273.8 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3.514, allocations: 2.875 kB / 1.062 GB, free: 14.62 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