Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.001104/0.001104, 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.001051/0.001051, allocations: 198.2 kB / 16.14 MB, free: 6.652 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.247/1.247, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.552/2.552, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 67.41 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2873, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002298/0.2897, allocations: 1.312 MB / 1.053 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008411/0.2905, allocations: 450.7 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.2906, allocations: 0 / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.2906, allocations: 3.938 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.244e-05/0.2906, allocations: 0 / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.2911, allocations: 95.77 kB / 1.054 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.995e-05/0.2912, allocations: 19.88 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.2912, allocations: 7.984 kB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.99e-05/0.2913, allocations: 8 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.593e-05/0.2913, allocations: 11.92 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.2913, allocations: 0 / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.2915, allocations: 99.84 kB / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.2915, allocations: 11.97 kB / 1.054 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.2916, allocations: 7.938 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.2918, allocations: 99.8 kB / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.2918, allocations: 0 / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2918, allocations: 4 kB / 1.054 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2918, allocations: 0 / 1.054 GB, free: 6.074 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.0004678/0.2923, allocations: 389.4 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2923, allocations: 11.97 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.719e-05/0.2924, allocations: 34.69 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.2924, allocations: 4.938 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2925, allocations: 168.3 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.2926, allocations: 8.375 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.2926, allocations: 4.375 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.2927, allocations: 42.19 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2927, allocations: 3.938 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.2927, allocations: 4 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2927, allocations: 0 / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.415e-05/0.2928, allocations: 7.984 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.2931, allocations: 241 kB / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.229e-05/0.2932, allocations: 46.44 kB / 1.055 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.2932, allocations: 16.86 kB / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.2932, allocations: 0 / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.2934, allocations: 59.48 kB / 1.055 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2934, allocations: 0 / 1.055 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002046/0.2936, allocations: 69.69 kB / 1.055 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.2936, allocations: 59.34 kB / 1.055 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.2937, allocations: 106.3 kB / 1.055 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.2937, allocations: 29.7 kB / 1.055 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.2938, allocations: 88.05 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.2938, allocations: 15.83 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.2938, allocations: 21.72 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.2939, allocations: 314.8 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.294, allocations: 12 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.676e-05/0.294, allocations: 39.42 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.826e-05/0.2941, allocations: 51.36 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.2941, allocations: 8 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001/0.2942, allocations: 77.52 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2942, allocations: 8.062 kB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2942, allocations: 0 / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2942, allocations: 7.938 kB / 1.056 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.678e-05/0.2943, allocations: 7.938 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.2943, allocations: 4 kB / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.2943, allocations: 4 kB / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.2944, allocations: 4 kB / 1.056 GB, free: 3.879 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.477e-05/0.2944, allocations: 117.8 kB / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.2945, allocations: 0 / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.2945, allocations: 15.91 kB / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2945, allocations: 4 kB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2945, allocations: 0 / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2945, allocations: 0 / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.2947, allocations: 310.4 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2948, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.2948, allocations: 4 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2948, allocations: 0 / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.2948, allocations: 0 / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2948, allocations: 4 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2948, allocations: 0 / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.295, allocations: 167.5 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.295, allocations: 84.98 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.295, allocations: 0 / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.85e-05/0.2951, allocations: 0 / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.2951, allocations: 11.98 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.2951, allocations: 128 / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.067e-05/0.2952, allocations: 87.28 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2952, allocations: 0 / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002666/0.2954, allocations: 43.92 kB / 1.057 GB, free: 2.945 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.0006669/0.2961, allocations: 0.7777 MB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.2962, allocations: 31.92 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2962, allocations: 0 / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.125e-05/0.2963, allocations: 19.92 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.2965, allocations: 4 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009499/0.2974, allocations: 1.282 MB / 1.059 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.2977, allocations: 0.6809 MB / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.136e-05/0.2977, allocations: 3.984 kB / 1.06 GB, free: 12 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.2977, allocations: 15.44 kB / 1.06 GB, free: 16 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2977, allocations: 0 / 1.06 GB, free: 16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.3088, allocations: 1.949 MB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.309, allocations: 266 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.083, allocations: 1.375 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches