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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 77.88 kB / 20.68 MB, free: 3.824 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 180.9 kB / 24.09 MB, free: 424 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9693/0.9693, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.715/1.715, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.673e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002146/0.002173, allocations: 1.272 MB / 0.7888 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007919/0.002965, allocations: 411.8 kB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.003, allocations: 0 / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.00302, allocations: 0.6875 kB / 0.7892 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.003063, allocations: 4 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.003621, allocations: 116.3 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.714e-05/0.003678, allocations: 12 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.099e-05/0.003709, allocations: 0.6562 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.003751, allocations: 13 kB / 0.7893 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.015e-05/0.003781, allocations: 15.92 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.003795, allocations: 0 / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.004046, allocations: 133.3 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.004067, allocations: 4 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.004088, allocations: 3.984 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.004269, allocations: 103.7 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004271, allocations: 3.531 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004272, allocations: 4 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.004276, allocations: 0 / 0.7895 GB, free: 10.18 MB / 0.7448 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.0004236/0.004699, allocations: 380.1 kB / 0.7899 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.004743, allocations: 8.031 kB / 0.7899 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.004778, allocations: 9.234 kB / 0.7899 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.061e-05/0.004868, allocations: 104.6 kB / 0.79 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.00488, allocations: 384 / 0.79 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.00489, allocations: 4.375 kB / 0.79 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.952e-05/0.004969, allocations: 38.97 kB / 0.7901 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004977, allocations: 192 / 0.7901 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.004986, allocations: 6.016 kB / 0.7901 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.004993, allocations: 384 / 0.7901 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.006803, allocations: 11.88 kB / 0.7901 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.006947, allocations: 93.27 kB / 0.7902 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.349e-05/0.007041, allocations: 40 kB / 0.7902 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.007058, allocations: 11.69 kB / 0.7902 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.007066, allocations: 0.9062 kB / 0.7902 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.007171, allocations: 58.17 kB / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.007173, allocations: 3.938 kB / 0.7903 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001481/0.007321, allocations: 65.66 kB / 0.7903 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.007354, allocations: 52.75 kB / 0.7904 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.148e-05/0.007425, allocations: 161.9 kB / 0.7905 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.007436, allocations: 25.7 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.007479, allocations: 135.6 kB / 0.7907 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.007502, allocations: 11.89 kB / 0.7907 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.007536, allocations: 28.5 kB / 0.7907 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.00768, allocations: 0.4922 MB / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.007692, allocations: 7.984 kB / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.953e-05/0.007721, allocations: 38.69 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.963e-05/0.007771, allocations: 53.33 kB / 0.7913 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.007773, allocations: 0 / 0.7913 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.461e-05/0.007848, allocations: 66.19 kB / 0.7914 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.007864, allocations: 4 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.00787, allocations: 0.6875 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.007889, allocations: 4 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.007967, allocations: 12.58 kB / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.007971, allocations: 1.094 kB / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.00799, allocations: 11.94 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.007997, allocations: 0 / 0.7914 GB, free: 8.047 MB / 0.7448 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 7.838e-05/0.008075, allocations: 165 kB / 0.7916 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.008085, allocations: 13.23 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.008117, allocations: 7.688 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.008119, allocations: 0 / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.008121, allocations: 0 / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.008125, allocations: 1.094 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.392e-05/0.008208, allocations: 105.2 kB / 0.7917 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008209, allocations: 0 / 0.7917 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.178e-05/0.008221, allocations: 4.812 kB / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.008223, allocations: 0 / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-06/0.008227, allocations: 0.9375 kB / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.008228, allocations: 0 / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008228, allocations: 1.219 kB / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.306e-05/0.008321, allocations: 100.3 kB / 0.7918 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.008328, allocations: 0 / 0.7918 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-06/0.008336, allocations: 0 / 0.7918 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.00835, allocations: 12.83 kB / 0.7918 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.008368, allocations: 0 / 0.7918 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.008372, allocations: 2.219 kB / 0.7918 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.008413, allocations: 123.7 kB / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008413, allocations: 0 / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000182/0.008595, allocations: 35.86 kB / 0.792 GB, free: 7.43 MB / 0.7448 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.0002829/0.008878, allocations: 170.2 kB / 0.7921 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.298e-05/0.008951, allocations: 35.59 kB / 0.7922 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.008953, allocations: 0 / 0.7922 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.108e-05/0.008974, allocations: 23.67 kB / 0.7922 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.437e-05/0.009068, allocations: 5.406 kB / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000184/0.009252, allocations: 110.3 kB / 0.7923 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.034e-05/0.009282, allocations: 59.34 kB / 0.7923 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.865e-05/0.009301, allocations: 0.625 kB / 0.7923 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.009332, allocations: 70.77 kB / 0.7924 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/0.009333, allocations: 0.5625 kB / 0.7924 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of Templates: time 0.00278/0.01211, allocations: 1.234 MB / 0.7936 GB, free: 5.703 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:lambda,seed,t0,time,y filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/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.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 4.823862746823579]