Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 191.3 kB / 16.66 MB, free: 6.582 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.798/2.798, allocations: 469.8 MB / 0.7425 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 71.88 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3829, allocations: 159.1 MB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002387/0.3853, allocations: 1.218 MB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.3864, allocations: 408.5 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.3864, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.3864, allocations: 3.938 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.221e-05/0.3865, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000711/0.3872, allocations: 103.6 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.147e-05/0.3873, allocations: 12 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.289e-05/0.3873, allocations: 7.984 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.953e-05/0.3874, allocations: 7.938 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.3874, allocations: 11.98 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.3874, allocations: 0 / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.3877, allocations: 91.84 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.3877, allocations: 4 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.3877, allocations: 11.92 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.388, allocations: 79.77 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.388, allocations: 0 / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.843e-06/0.388, allocations: 0 / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.388, allocations: 0 / 1.222 GB, free: 11.92 MB / 0.9825 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.0006502/0.3887, allocations: 355.3 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3887, allocations: 8.031 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.3888, allocations: 4.938 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.3889, allocations: 172.3 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3889, allocations: 4.375 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.389, allocations: 8.312 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.3891, allocations: 34.25 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3891, allocations: 3.938 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3891, allocations: 4 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3891, allocations: 3.938 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.066e-05/0.3891, allocations: 4 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.3894, allocations: 157.7 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.567e-05/0.3894, allocations: 26.58 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.3895, allocations: 20.88 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.3895, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.3897, allocations: 63.28 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3897, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002147/0.3899, allocations: 65.67 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.3899, allocations: 55.41 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.39, allocations: 101.8 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.39, allocations: 29.7 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.3901, allocations: 80.14 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3901, allocations: 23.83 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.3901, allocations: 21.72 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3903, allocations: 314.8 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.3903, allocations: 4 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.981e-05/0.3903, allocations: 35.42 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.522e-05/0.3904, allocations: 51.38 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3904, allocations: 0 / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001173/0.3905, allocations: 62 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3905, allocations: 11.94 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3905, allocations: 0 / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3906, allocations: 48 / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.3906, allocations: 19.91 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3906, allocations: 4.094 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/0.3907, allocations: 4 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3907, allocations: 4.156 kB / 1.224 GB, free: 9.949 MB / 0.9825 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001057/0.3908, allocations: 118.9 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.3908, allocations: 7.891 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.3908, allocations: 7.5 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3908, allocations: 0 / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3908, allocations: 0 / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3908, allocations: 3.984 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.391, allocations: 157.7 kB / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.391, allocations: 0 / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.391, allocations: 4 kB / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.391, allocations: 3.938 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.391, allocations: 0 / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3911, allocations: 0 / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3911, allocations: 0 / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.3912, allocations: 96.98 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.3913, allocations: 88.98 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.3913, allocations: 0 / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.952e-05/0.3913, allocations: 0 / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.3913, allocations: 4 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3913, allocations: 3.984 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.247e-05/0.3914, allocations: 79.28 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3914, allocations: 0 / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002722/0.3917, allocations: 27.94 kB / 1.225 GB, free: 9.262 MB / 0.9825 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.000433/0.3921, allocations: 161.6 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.3922, allocations: 31.92 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3922, allocations: 0 / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.073e-05/0.3923, allocations: 11.98 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.3924, allocations: 2.031 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.3928, allocations: 120.9 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3931, allocations: 0.6807 MB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.3931, allocations: 256 / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.3932, allocations: 11.44 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3932, allocations: 0 / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of Templates: time 0.004079/0.3972, allocations: 1.011 MB / 1.227 GB, free: 7.184 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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:lambda,seed,t0,time,y