Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001453/0.001453, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.001638/0.001638, allocations: 161.7 kB / 23.55 MB, free: 0.8633 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.513/1.513, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.821/2.821, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.29e-06/5.29e-06, allocations: 4 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.532e-05, allocations: 6.062 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001933/0.001968, allocations: 0.7133 MB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.003242, allocations: 0.8327 MB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.003283, allocations: 0 / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.003314, allocations: 4.906 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.546e-05/0.00339, allocations: 4 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.003501, allocations: 13.05 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.003604, allocations: 51.83 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.003701, allocations: 4 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.003803, allocations: 29.31 kB / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.003853, allocations: 11.98 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.003873, allocations: 4 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.003886, allocations: 4 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.003913, allocations: 16.98 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.003942, allocations: 7.938 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.004077, allocations: 51.84 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004079, allocations: 1.562 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004079, allocations: 0 / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.004084, allocations: 0 / 0.7881 GB, free: 11.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005672/0.004651, allocations: 286.9 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.00469, allocations: 8.938 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.004744, allocations: 8.891 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.004891, allocations: 107.9 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.004909, allocations: 384 / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.004927, allocations: 8.375 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.00525, allocations: 66.2 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.005264, allocations: 0.7188 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.005282, allocations: 4.375 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.005288, allocations: 5.781 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.005617, allocations: 69.73 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.006145, allocations: 208.6 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.006387, allocations: 52.88 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.006552, allocations: 36.92 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.006582, allocations: 0 / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.006623, allocations: 38.5 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 2.565e-06/0.006625, allocations: 0.625 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0006269/0.007252, allocations: 132.5 kB / 0.7891 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.007306, allocations: 55.41 kB / 0.7892 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.007425, allocations: 105.8 kB / 0.7893 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.007448, allocations: 25.7 kB / 0.7893 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.007526, allocations: 93.84 kB / 0.7894 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.007551, allocations: 11.88 kB / 0.7894 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.007597, allocations: 21.7 kB / 0.7894 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000458/0.008055, allocations: 310.8 kB / 0.7897 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.008206, allocations: 32.75 kB / 0.7898 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.008339, allocations: 36.64 kB / 0.7898 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.008609, allocations: 70.72 kB / 0.7899 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.008611, allocations: 2.312 kB / 0.7899 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003419/0.008953, allocations: 93.91 kB / 0.79 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.008972, allocations: 7.938 kB / 0.79 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.008978, allocations: 0.7188 kB / 0.79 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.009004, allocations: 15.97 kB / 0.79 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.009129, allocations: 12.52 kB / 0.79 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.009135, allocations: 1.656 kB / 0.79 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.009222, allocations: 23.92 kB / 0.79 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.009229, allocations: 3.938 kB / 0.79 GB, free: 8.941 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.595e-05/0.009325, allocations: 110.5 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.009354, allocations: 5.312 kB / 0.7901 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.009722, allocations: 106.7 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.009727, allocations: 4 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.009731, allocations: 0.9062 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.009733, allocations: 0 / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.009908, allocations: 109.3 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.00991, allocations: 0.8438 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.01001, allocations: 21.25 kB / 0.7904 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01002, allocations: 0 / 0.7904 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.01003, allocations: 4 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.01003, allocations: 3.938 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01003, allocations: 1 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.01044, allocations: 193.8 kB / 0.7906 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.01045, allocations: 4 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.01046, allocations: 0 / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.01058, allocations: 20.91 kB / 0.7906 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.01063, allocations: 4 kB / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.01063, allocations: 0 / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.302e-05/0.01071, allocations: 102.6 kB / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01071, allocations: 0 / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002373/0.01094, allocations: 8 kB / 0.7907 GB, free: 8.207 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001405/0.01108, allocations: 91.25 kB / 0.7908 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003506/0.01144, allocations: 72.36 kB / 0.7908 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01144, allocations: 1.531 kB / 0.7909 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.01159, allocations: 35.95 kB / 0.7909 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.01194, allocations: 8.656 kB / 0.7909 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.01234, allocations: 129.8 kB / 0.791 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.246e-05/0.01242, allocations: 71.22 kB / 0.7911 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.842e-05/0.01245, allocations: 0.7812 kB / 0.7911 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.01249, allocations: 13.16 kB / 0.7911 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.0125, allocations: 2.812 kB / 0.7911 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of Templates: time 0.003434/0.01593, allocations: 0.746 MB / 0.7918 GB, free: 7.023 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.843159707961604]