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.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.0009721/0.0009721, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009475/0.0009475, allocations: 173 kB / 24.28 MB, free: 276 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 1.029/1.029, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.775/1.775, allocations: 359 MB / 0.6055 GB, free: 10.97 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.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.88e-05, allocations: 4.031 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001544/0.001562, allocations: 1.27 MB / 0.7883 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006795/0.002242, allocations: 459.6 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.002276, allocations: 0.8438 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.002298, allocations: 3.938 kB / 0.7887 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.234e-05/0.00233, allocations: 0.9375 kB / 0.7887 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.00284, allocations: 123.4 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.437e-05/0.002904, allocations: 24.56 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.002941, allocations: 1.594 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.002978, allocations: 15.98 kB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.492e-05/0.003003, allocations: 7.938 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.003016, allocations: 0 / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.003237, allocations: 143.7 kB / 0.789 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.003254, allocations: 11.42 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.003281, allocations: 3.984 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.003461, allocations: 123.6 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003464, allocations: 0 / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003465, allocations: 0 / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.003469, allocations: 0 / 0.7892 GB, free: 10.66 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.0003885/0.003857, allocations: 414 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.003891, allocations: 8.031 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.00393, allocations: 9.656 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.46e-05/0.004005, allocations: 116.6 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.004023, allocations: 0.9688 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.004034, allocations: 8.359 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.144e-05/0.004126, allocations: 48.52 kB / 0.7898 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.004132, allocations: 4.125 kB / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.00414, allocations: 384 / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.004146, allocations: 384 / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.7e-05/0.004163, allocations: 12.69 kB / 0.7898 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.004272, allocations: 116.6 kB / 0.7899 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.9e-05/0.004341, allocations: 39.75 kB / 0.7899 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.004364, allocations: 16.97 kB / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.972e-06/0.00437, allocations: 0 / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.913e-05/0.004449, allocations: 65.73 kB / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.00445, allocations: 0 / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001545/0.004605, allocations: 62.97 kB / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.004641, allocations: 59.39 kB / 0.7901 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.004714, allocations: 169.9 kB / 0.7903 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.004723, allocations: 27.23 kB / 0.7903 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.004762, allocations: 130.8 kB / 0.7904 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.00478, allocations: 11.95 kB / 0.7904 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.004807, allocations: 23.38 kB / 0.7905 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.004911, allocations: 0.4884 MB / 0.7909 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.004925, allocations: 8.5 kB / 0.791 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.754e-05/0.004952, allocations: 44.11 kB / 0.791 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.828e-05/0.005001, allocations: 55.31 kB / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005003, allocations: 0 / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.576e-05/0.005068, allocations: 63.78 kB / 0.7911 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.005081, allocations: 8 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.005086, allocations: 48 / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.0051, allocations: 7.969 kB / 0.7911 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.005201, allocations: 12.53 kB / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.00521, allocations: 8.594 kB / 0.7911 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.00523, allocations: 11.89 kB / 0.7912 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.005237, allocations: 5.281 kB / 0.7912 GB, free: 8.398 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 6.684e-05/0.005304, allocations: 157 kB / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.005318, allocations: 7.984 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.00534, allocations: 8.625 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.005342, allocations: 1.125 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.005346, allocations: 4 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.00535, allocations: 3.938 kB / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.588e-05/0.005426, allocations: 121.1 kB / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.005427, allocations: 0 / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-06/0.005433, allocations: 5.125 kB / 0.7915 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.005436, allocations: 0 / 0.7915 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.005442, allocations: 3.938 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.005442, allocations: 0.9062 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.005444, allocations: 3.984 kB / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.005546, allocations: 105.1 kB / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-06/0.005552, allocations: 4 kB / 0.7916 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.005562, allocations: 6.219 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.5e-05/0.005577, allocations: 0 / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.005599, allocations: 7.984 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.005603, allocations: 0 / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.441e-05/0.005637, allocations: 127.1 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005637, allocations: 0 / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001778/0.005815, allocations: 42.64 kB / 0.7917 GB, free: 7.742 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.0002773/0.006092, allocations: 167.8 kB / 0.7919 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.903e-05/0.006181, allocations: 37.11 kB / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006183, allocations: 0 / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-05/0.00621, allocations: 23.67 kB / 0.792 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.006313, allocations: 7.938 kB / 0.792 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.006524, allocations: 122.7 kB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.808e-05/0.006552, allocations: 60.38 kB / 0.7921 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.748e-05/0.006569, allocations: 4 kB / 0.7921 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.442e-05/0.006584, allocations: 10.12 kB / 0.7922 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.006585, allocations: 0 / 0.7922 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of Templates: time 0.0027/0.009284, allocations: 1.171 MB / 0.7933 GB, free: 6.117 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.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:L,dt,k,seed,t0,time,u,y filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.1370501960627735]