Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.001863/0.001863, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002086/0.002086, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.915/2.915, 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.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.709e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001695/0.001722, allocations: 0.6213 MB / 0.787 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001474/0.001869, allocations: 11.92 kB / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.467e-05/0.001914, allocations: 0.6875 kB / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.002018, allocations: 0 / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.779e-05/0.002046, allocations: 5.219 kB / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.48e-05/0.002111, allocations: 4 kB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.961e-05/0.0022, allocations: 27.91 kB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.00233, allocations: 23.92 kB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.019e-05/0.00238, allocations: 20.83 kB / 0.7871 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.002415, allocations: 11.98 kB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.002436, allocations: 4.562 kB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.002447, allocations: 0.6875 kB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.002486, allocations: 15.92 kB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.002513, allocations: 4.906 kB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.002628, allocations: 51.8 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.002631, allocations: 0 / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002631, allocations: 0.6562 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.002635, allocations: 0 / 0.7871 GB, free: 12.05 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004697/0.003105, allocations: 377.9 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.003141, allocations: 8.031 kB / 0.7875 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.003189, allocations: 12.89 kB / 0.7875 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.003388, allocations: 128.5 kB / 0.7876 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.0034, allocations: 1.969 kB / 0.7876 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.003416, allocations: 8.375 kB / 0.7877 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.003565, allocations: 62.17 kB / 0.7877 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.003575, allocations: 192 / 0.7877 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.003588, allocations: 7.812 kB / 0.7877 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.003595, allocations: 4.359 kB / 0.7877 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.806e-05/0.003663, allocations: 35.91 kB / 0.7878 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.004273, allocations: 0.5409 MB / 0.7883 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.004428, allocations: 261.4 kB / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.877e-05/0.004497, allocations: 130.9 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.588e-05/0.004563, allocations: 123.1 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.422e-05/0.004647, allocations: 156.6 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.004648, allocations: 0 / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.447e-05/0.004722, allocations: 31.03 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.004824, allocations: 170.6 kB / 0.7891 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.004996, allocations: 190.4 kB / 0.7893 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.005013, allocations: 30.48 kB / 0.7893 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/0.005103, allocations: 142.9 kB / 0.7895 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.005104, allocations: 0.9062 kB / 0.7895 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.005153, allocations: 27.36 kB / 0.7895 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002464/0.005399, allocations: 0.4922 MB / 0.79 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.005419, allocations: 8.516 kB / 0.79 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.638e-05/0.005436, allocations: 13.31 kB / 0.79 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.005476, allocations: 19.67 kB / 0.79 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.005478, allocations: 1.281 kB / 0.79 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001266/0.005604, allocations: 49.64 kB / 0.7901 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.005617, allocations: 4 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.00562, allocations: 0.625 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.005632, allocations: 4 kB / 0.7901 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.652e-05/0.005688, allocations: 4.734 kB / 0.7901 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.005693, allocations: 0 / 0.7901 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.005715, allocations: 5 kB / 0.7901 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.005726, allocations: 4 kB / 0.7901 GB, free: 8.832 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: 1 (mulMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 0.0001905/0.005917, allocations: 288.6 kB / 0.7904 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.445e-05/0.006011, allocations: 148.9 kB / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.771e-05/0.006099, allocations: 153.7 kB / 0.7907 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001406/0.006239, allocations: 276.1 kB / 0.7909 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001345/0.006374, allocations: 264.1 kB / 0.7912 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001417/0.006516, allocations: 279.9 kB / 0.7914 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.006879, allocations: 0.5068 MB / 0.7919 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.558e-05/0.006954, allocations: 144.9 kB / 0.7921 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.592e-05/0.00703, allocations: 148.8 kB / 0.7922 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.007171, allocations: 272.1 kB / 0.7925 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.007302, allocations: 268 kB / 0.7927 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001369/0.007439, allocations: 272.1 kB / 0.793 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003808/0.007819, allocations: 268.1 kB / 0.7932 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.00808, allocations: 447.9 kB / 0.7937 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-05/0.008168, allocations: 162 kB / 0.7938 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.008318, allocations: 264.1 kB / 0.7941 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.008434, allocations: 144.9 kB / 0.7942 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.008571, allocations: 272.6 kB / 0.7945 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-05/0.008657, allocations: 144.9 kB / 0.7946 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.835e-05/0.008756, allocations: 144 kB / 0.7947 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008756, allocations: 0 / 0.7947 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002077/0.008964, allocations: 8.875 kB / 0.7948 GB, free: 3.863 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 (0): * Single equations (assignments): 0 * 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.000183/0.009147, allocations: 221.6 kB / 0.795 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.322e-05/0.00924, allocations: 19.62 kB / 0.795 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.009245, allocations: 5.062 kB / 0.795 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.009246, allocations: 0 / 0.795 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.009855, allocations: 0.7134 MB / 0.7957 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.01018, allocations: 253.3 kB / 0.7959 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.66e-05/0.01026, allocations: 67.34 kB / 0.796 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.912e-05/0.01028, allocations: 4.516 kB / 0.796 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.01031, allocations: 9.125 kB / 0.796 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.01031, allocations: 0 / 0.796 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of Templates: time 0.00278/0.01309, allocations: 333.4 kB / 0.7963 GB, free: 2.215 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.89199017197825]