Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Weibull1DON,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_11_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.001481/0.001481, 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.001553/0.001553, allocations: 190.3 kB / 16.25 MB, free: 6.633 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.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 469.8 MB / 0.7421 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 67.97 kB / 0.9082 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2826, allocations: 159.2 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002432/0.2851, allocations: 1.299 MB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008011/0.2859, allocations: 440.5 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.2859, allocations: 0 / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.286, allocations: 0 / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.845e-05/0.286, allocations: 3.938 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.2865, allocations: 99.78 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.975e-05/0.2865, allocations: 23.92 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.583e-05/0.2866, allocations: 0 / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.2866, allocations: 7.984 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.974e-05/0.2866, allocations: 11.94 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.2866, allocations: 3.938 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.2868, allocations: 103.9 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.2869, allocations: 11.98 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.2869, allocations: 7.938 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.2871, allocations: 99.8 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2871, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2871, allocations: 3.938 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2871, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 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.0004133/0.2875, allocations: 385.3 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2876, allocations: 12.03 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.2876, allocations: 30.75 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.2877, allocations: 4.938 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.2878, allocations: 164.3 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.2878, allocations: 4.375 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.2878, allocations: 16.3 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.087e-05/0.2879, allocations: 38.25 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2879, allocations: 3.938 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.2879, allocations: 0 / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.2879, allocations: 0 / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.447e-05/0.288, allocations: 11.94 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.2883, allocations: 249 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.082e-05/0.2884, allocations: 38.52 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.2884, allocations: 20.94 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.2884, allocations: 0 / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.2886, allocations: 55.34 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.2886, allocations: 4 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0001914/0.2888, allocations: 81.58 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.2888, allocations: 51.41 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.2889, allocations: 105.8 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.2889, allocations: 25.7 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.289, allocations: 84.14 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.289, allocations: 19.83 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.289, allocations: 17.72 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.2892, allocations: 314.8 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.2892, allocations: 16.48 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.34e-05/0.2892, allocations: 39.36 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.532e-05/0.2893, allocations: 51.42 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2893, allocations: 3.938 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001111/0.2894, allocations: 85.45 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2894, allocations: 11.98 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2895, allocations: 3.938 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.2895, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.2895, allocations: 8 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.2895, allocations: 4 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.2896, allocations: 0 / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.2896, allocations: 8 kB / 1.068 GB, free: 10.25 MB / 0.8262 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.52e-05/0.2897, allocations: 113.7 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.2897, allocations: 11.97 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.112e-05/0.2897, allocations: 11.95 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2897, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2897, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2897, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.29, allocations: 306.5 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.29, allocations: 0 / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/0.29, allocations: 0 / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.29, allocations: 7.938 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2901, allocations: 4 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2901, allocations: 0 / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2901, allocations: 0 / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.2902, allocations: 163.5 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.2903, allocations: 88.95 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.2903, allocations: 0 / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.743e-05/0.2903, allocations: 0 / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.2904, allocations: 3.984 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.2904, allocations: 8 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.389e-05/0.2904, allocations: 87.41 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.2904, allocations: 0 / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002703/0.2907, allocations: 43.92 kB / 1.068 GB, free: 9.316 MB / 0.8262 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.000688/0.2914, allocations: 0.7668 MB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.2915, allocations: 36.11 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2915, allocations: 0 / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.649e-05/0.2916, allocations: 12 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.2918, allocations: 11.92 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.2928, allocations: 1.286 MB / 1.07 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.2931, allocations: 0.6807 MB / 1.071 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.573e-05/0.2931, allocations: 0 / 1.071 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.2932, allocations: 19.42 kB / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2932, allocations: 4 kB / 1.071 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.512/1.805, allocations: 1.991 MB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005066/1.806, allocations: 239.6 kB / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/3.895, allocations: 64 / 1.073 GB, free: 4.25 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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