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.001054/0.001054, 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.001228/0.001228, allocations: 169 kB / 24.28 MB, free: 280 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.023/1.023, allocations: 177.2 MB / 204.6 MB, free: 5.633 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.816/1.816, allocations: 359 MB / 0.6055 GB, free: 11.04 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.803e-06/1.803e-06, allocations: 0 / 0.787 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.625e-05, allocations: 5.906 kB / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001856/0.001883, allocations: 1.263 MB / 0.7883 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006371/0.00252, allocations: 423.2 kB / 0.7887 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.002555, allocations: 5.062 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.002576, allocations: 3.938 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.911e-05/0.002615, allocations: 3.938 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.003107, allocations: 109.1 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.358e-05/0.00316, allocations: 15.94 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.0032, allocations: 3.984 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.003236, allocations: 7.938 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.535e-05/0.003261, allocations: 8.922 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.003276, allocations: 3.984 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.003475, allocations: 124.5 kB / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.003489, allocations: 7.984 kB / 0.789 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.003513, allocations: 10.45 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.003677, allocations: 103.7 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003679, allocations: 0 / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.282e-06/0.00368, allocations: 0 / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.003685, allocations: 0 / 0.7891 GB, free: 10.79 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.0004067/0.004092, allocations: 376.1 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.004129, allocations: 13.78 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.004172, allocations: 5.234 kB / 0.7895 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.902e-05/0.004251, allocations: 112.6 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.00426, allocations: 384 / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.00427, allocations: 12.31 kB / 0.7896 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.525e-05/0.004346, allocations: 38.83 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.004351, allocations: 1.438 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.004361, allocations: 384 / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.004367, allocations: 384 / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.581e-05/0.004382, allocations: 7.938 kB / 0.7896 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.004498, allocations: 118.4 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.864e-05/0.004567, allocations: 31.06 kB / 0.7898 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.004592, allocations: 23.7 kB / 0.7898 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-06/0.004598, allocations: 1.281 kB / 0.7898 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.004811, allocations: 57.05 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.004813, allocations: 0 / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001672/0.00498, allocations: 71.55 kB / 0.7899 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.005018, allocations: 59.34 kB / 0.79 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.319e-05/0.005091, allocations: 165.9 kB / 0.7901 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.0051, allocations: 25.7 kB / 0.7901 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.005136, allocations: 126.9 kB / 0.7903 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.005157, allocations: 18.5 kB / 0.7903 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.005187, allocations: 23.38 kB / 0.7903 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.005291, allocations: 0.4884 MB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.005306, allocations: 4 kB / 0.7908 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.194e-05/0.005338, allocations: 42.73 kB / 0.7908 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.206e-05/0.00539, allocations: 51.22 kB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.005393, allocations: 4.719 kB / 0.7909 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.776e-05/0.005471, allocations: 63.81 kB / 0.7909 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.005486, allocations: 8 kB / 0.791 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.00549, allocations: 0 / 0.791 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.005502, allocations: 0 / 0.791 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.005577, allocations: 19.92 kB / 0.791 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.005584, allocations: 4.438 kB / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.005599, allocations: 0.5938 kB / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.005612, allocations: 4 kB / 0.791 GB, free: 8.617 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.6e-05/0.005678, allocations: 165.3 kB / 0.7911 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.005688, allocations: 5.109 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.005714, allocations: 11.67 kB / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005715, allocations: 4 kB / 0.7912 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.005718, allocations: 1.375 kB / 0.7912 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.005723, allocations: 3.938 kB / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.233e-05/0.005795, allocations: 108.6 kB / 0.7913 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.005797, allocations: 0 / 0.7913 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.005807, allocations: 4.891 kB / 0.7913 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.00581, allocations: 4 kB / 0.7913 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.005816, allocations: 4.719 kB / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005817, allocations: 0 / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.005818, allocations: 5.281 kB / 0.7913 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.00592, allocations: 100.4 kB / 0.7914 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.005927, allocations: 0 / 0.7914 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.005937, allocations: 3.938 kB / 0.7914 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.649e-05/0.005954, allocations: 5.312 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.005977, allocations: 0 / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.005983, allocations: 1.219 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.006023, allocations: 139.1 kB / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006023, allocations: 0 / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001737/0.006197, allocations: 23.94 kB / 0.7915 GB, free: 7.973 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.000304/0.0065, allocations: 180 kB / 0.7917 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.987e-05/0.0066, allocations: 39.59 kB / 0.7918 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006602, allocations: 2.625 kB / 0.7918 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.006626, allocations: 15.62 kB / 0.7918 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.006732, allocations: 6.062 kB / 0.7918 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/0.006951, allocations: 118.3 kB / 0.7919 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.115e-05/0.006982, allocations: 55.36 kB / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.013e-05/0.007002, allocations: 0.5 kB / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.007021, allocations: 13.03 kB / 0.792 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of SimCode: time 9.91e-07/0.007022, allocations: 0 / 0.792 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of Templates: time 0.002769/0.009791, allocations: 1.099 MB / 0.793 GB, free: 6.438 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.186662622028962]