Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_9_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.005701/0.005701, allocations: 101.4 kB / 15.73 MB, free: 6.016 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.001239/0.001239, allocations: 191.5 kB / 16.67 MB, free: 5.949 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 62.25 kB / 0.9504 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2774, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002319/0.2798, allocations: 1.222 MB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008319/0.2806, allocations: 444.3 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.2807, allocations: 4 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.2807, allocations: 3.938 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.255e-05/0.2808, allocations: 0 / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.2813, allocations: 115.6 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.967e-05/0.2814, allocations: 19.92 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.2815, allocations: 11.92 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.324e-05/0.2815, allocations: 7.984 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.949e-05/0.2815, allocations: 15.88 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.2816, allocations: 0 / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.2818, allocations: 99.89 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.2818, allocations: 12 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.2818, allocations: 7.922 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.2821, allocations: 99.75 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2821, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2821, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2821, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 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.0004576/0.2825, allocations: 391.9 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2826, allocations: 16.02 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.217e-05/0.2827, allocations: 34.75 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.2827, allocations: 0.9375 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.2828, allocations: 168.9 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.2829, allocations: 384 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.2829, allocations: 8.375 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.283, allocations: 38.23 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.283, allocations: 7.938 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.283, allocations: 0 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.283, allocations: 0 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.756e-05/0.2831, allocations: 11.94 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.2834, allocations: 249.2 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.931e-05/0.2835, allocations: 42.48 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.2836, allocations: 20.94 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.2836, allocations: 0 / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.2837, allocations: 59.34 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.2837, allocations: 0 / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.000201/0.2839, allocations: 77.86 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.284, allocations: 59.39 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.2841, allocations: 109.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.2841, allocations: 25.7 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.2841, allocations: 84.14 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.2842, allocations: 7.906 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.2842, allocations: 29.7 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2843, allocations: 314.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.2843, allocations: 11.98 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.598e-05/0.2844, allocations: 35.38 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.458e-05/0.2845, allocations: 55.36 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.228e-05/0.2845, allocations: 3.938 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000105/0.2846, allocations: 73.47 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2846, allocations: 5.719 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2847, allocations: 4 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2847, allocations: 3.938 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.2848, allocations: 11.98 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2848, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.2848, allocations: 4 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2848, allocations: 4.062 kB / 1.091 GB, free: 13.76 MB / 0.8575 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 9.331e-05/0.2849, allocations: 121.7 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.2849, allocations: 7.906 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.285, allocations: 11.95 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.285, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.285, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.285, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.2853, allocations: 302.5 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2853, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.2853, allocations: 11.94 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2853, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.2853, allocations: 4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2853, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2853, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.2855, allocations: 167.8 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.2856, allocations: 81.02 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.2856, allocations: 4.094 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.061e-05/0.2857, allocations: 4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.2857, allocations: 3.984 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.2857, allocations: 7.984 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.808e-05/0.2858, allocations: 83.28 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2858, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003412/0.2861, allocations: 39.92 kB / 1.092 GB, free: 12.82 MB / 0.8575 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.0007497/0.2869, allocations: 0.7692 MB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.287, allocations: 39.92 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.287, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/0.2871, allocations: 12 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.2873, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.2884, allocations: 1.3 MB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2887, allocations: 0.6768 MB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.2887, allocations: 7.984 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.2888, allocations: 11.44 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.2888, allocations: 4 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05865/0.3474, allocations: 2.113 MB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/8.892, allocations: 9.859 kB / 1.097 GB, free: 7.836 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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