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.00138/0.00138, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00108/0.00108, allocations: 161 kB / 23.81 MB, free: 0.7539 MB / 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 1.057/1.057, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.812/1.812, allocations: 359 MB / 0.6052 GB, free: 11.02 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.983e-06/1.983e-06, allocations: 0 / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.72e-05, allocations: 9.828 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001624/0.001651, allocations: 1.264 MB / 0.7883 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000603/0.002254, allocations: 415.9 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.107e-05/0.002275, allocations: 0 / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.002291, allocations: 0.75 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.179e-05/0.002323, allocations: 7.875 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.002716, allocations: 113 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.534e-05/0.002762, allocations: 12 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.907e-05/0.002791, allocations: 7.922 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.594e-05/0.002817, allocations: 9.109 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.884e-05/0.002835, allocations: 7.984 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.002846, allocations: 3.938 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.003028, allocations: 129 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.00304, allocations: 8 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.003059, allocations: 3.984 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.003204, allocations: 105.1 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.003206, allocations: 0 / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003207, allocations: 0 / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.00321, allocations: 0 / 0.7891 GB, free: 10.47 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.0002909/0.003501, allocations: 377.2 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.003532, allocations: 12.03 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.003559, allocations: 5.859 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.394e-05/0.003623, allocations: 112.6 kB / 0.7896 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.003632, allocations: 5.781 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.003643, allocations: 4.375 kB / 0.7896 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.688e-05/0.00371, allocations: 38.19 kB / 0.7896 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.003717, allocations: 192 / 0.7896 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.003725, allocations: 5.391 kB / 0.7896 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.003732, allocations: 384 / 0.7896 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.557e-05/0.003747, allocations: 7.938 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.696e-05/0.003844, allocations: 117.6 kB / 0.7897 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/0.003906, allocations: 35.06 kB / 0.7898 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.376e-05/0.003929, allocations: 16.86 kB / 0.7898 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-06/0.003937, allocations: 3.938 kB / 0.7898 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/0.004, allocations: 61.72 kB / 0.7899 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 6.52e-07/0.004001, allocations: 1.656 kB / 0.7899 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001277/0.004128, allocations: 61.67 kB / 0.7899 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.004156, allocations: 55.41 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/0.00422, allocations: 169.8 kB / 0.7901 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.00423, allocations: 26.89 kB / 0.7902 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.004266, allocations: 126.9 kB / 0.7903 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.004285, allocations: 19.89 kB / 0.7903 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.004312, allocations: 24.97 kB / 0.7903 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.004416, allocations: 496.1 kB / 0.7908 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.00443, allocations: 8 kB / 0.7908 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.98e-05/0.00446, allocations: 42.73 kB / 0.7908 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.004505, allocations: 56.34 kB / 0.7909 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.004507, allocations: 0 / 0.7909 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.096e-05/0.004567, allocations: 68.58 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.004578, allocations: 8 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.004581, allocations: 0 / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.004591, allocations: 0 / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.853e-05/0.00465, allocations: 15.92 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.004656, allocations: 7.938 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.00467, allocations: 4.531 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.004676, allocations: 4.688 kB / 0.791 GB, free: 8.285 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 5.668e-05/0.004733, allocations: 160.5 kB / 0.7911 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.004739, allocations: 4.484 kB / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.004761, allocations: 12.98 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.004764, allocations: 4 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.004767, allocations: 0 / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.004771, allocations: 4.469 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.989e-05/0.004841, allocations: 108.6 kB / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.004842, allocations: 1.375 kB / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.735e-06/0.004849, allocations: 0 / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.004851, allocations: 3.984 kB / 0.7913 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.004856, allocations: 4 kB / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.004857, allocations: 1.156 kB / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.004859, allocations: 7.938 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.994e-05/0.004939, allocations: 104.3 kB / 0.7914 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.004944, allocations: 1.125 kB / 0.7914 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-06/0.004952, allocations: 0 / 0.7914 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.025e-05/0.004962, allocations: 0 / 0.7914 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.00498, allocations: 9.75 kB / 0.7914 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.004984, allocations: 0 / 0.7914 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.018e-05/0.005014, allocations: 131.1 kB / 0.7915 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005014, allocations: 0 / 0.7915 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001659/0.00518, allocations: 27.94 kB / 0.7916 GB, free: 7.645 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.0002535/0.005434, allocations: 177.2 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.339e-05/0.005507, allocations: 39.03 kB / 0.7918 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.005509, allocations: 4 kB / 0.7918 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.189e-05/0.005531, allocations: 15.62 kB / 0.7918 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.209e-05/0.005623, allocations: 6.062 kB / 0.7918 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001709/0.005794, allocations: 118.3 kB / 0.7919 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.611e-05/0.00582, allocations: 55.36 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.465e-05/0.005835, allocations: 0 / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.00585, allocations: 13.03 kB / 0.792 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.00585, allocations: 0 / 0.792 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of Templates: time 0.002394/0.008244, allocations: 1.087 MB / 0.793 GB, free: 6.129 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: 5.211676426231861]