Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001434/0.001434, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001747/0.001747, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.538/1.538, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.871/2.871, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.222e-05/3.424e-05, allocations: 5.234 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.00173/0.001764, allocations: 0.6142 MB / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001399/0.001904, allocations: 7.938 kB / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.001955, allocations: 4 kB / 0.982 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.709e-05/0.002052, allocations: 7.922 kB / 0.982 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.025e-05/0.002083, allocations: 0 / 0.982 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.965e-05/0.002152, allocations: 4 kB / 0.982 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.159e-05/0.002244, allocations: 23.92 kB / 0.9821 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.002373, allocations: 23.97 kB / 0.9821 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.741e-05/0.00242, allocations: 19.98 kB / 0.9821 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.564e-05/0.002456, allocations: 15.92 kB / 0.9821 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.002476, allocations: 4 kB / 0.9821 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.566e-05/0.002512, allocations: 7.938 kB / 0.9821 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.002542, allocations: 8 kB / 0.9821 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.002577, allocations: 15.92 kB / 0.9822 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.956e-05/0.002677, allocations: 43.8 kB / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.002681, allocations: 4 kB / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.22e-07/0.002682, allocations: 3.938 kB / 0.9822 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.002685, allocations: 0 / 0.9822 GB, free: 11.19 MB / 0.9356 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.0003503/0.003036, allocations: 278.2 kB / 0.9825 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.003072, allocations: 8.031 kB / 0.9825 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.003106, allocations: 12.89 kB / 0.9825 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.003306, allocations: 117.7 kB / 0.9826 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.003319, allocations: 8.375 kB / 0.9826 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.003331, allocations: 4.375 kB / 0.9826 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.003482, allocations: 70.23 kB / 0.9827 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.00349, allocations: 4.125 kB / 0.9827 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.003499, allocations: 384 / 0.9827 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003504, allocations: 4.375 kB / 0.9827 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.418e-05/0.003588, allocations: 51.91 kB / 0.9827 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.004081, allocations: 422.8 kB / 0.9831 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.00419, allocations: 169.1 kB / 0.9833 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.004231, allocations: 80.14 kB / 0.9834 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.004272, allocations: 75.28 kB / 0.9835 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/0.004332, allocations: 109.8 kB / 0.9836 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.123e-06/0.004333, allocations: 0 / 0.9836 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.359e-05/0.004406, allocations: 29.64 kB / 0.9836 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.00449, allocations: 126.7 kB / 0.9837 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.004629, allocations: 137.8 kB / 0.9838 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.004651, allocations: 25.7 kB / 0.9839 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.004714, allocations: 100.1 kB / 0.984 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.004717, allocations: 0 / 0.984 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.004753, allocations: 13.72 kB / 0.984 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.004911, allocations: 322.8 kB / 0.9843 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.971e-05/0.00494, allocations: 11.98 kB / 0.9843 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.196e-05/0.004952, allocations: 4.109 kB / 0.9843 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.372e-05/0.004996, allocations: 20.78 kB / 0.9843 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.004997, allocations: 0 / 0.9843 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001159/0.005113, allocations: 49.62 kB / 0.9844 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.005129, allocations: 12.09 kB / 0.9844 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.005133, allocations: 0 / 0.9844 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.005147, allocations: 3.984 kB / 0.9844 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.844e-05/0.005205, allocations: 4 kB / 0.9844 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.005209, allocations: 3.938 kB / 0.9844 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.005231, allocations: 3.953 kB / 0.9844 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.00524, allocations: 4 kB / 0.9844 GB, free: 8.77 MB / 0.9356 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.0001348/0.005375, allocations: 201 kB / 0.9846 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.00545, allocations: 108.9 kB / 0.9847 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.193e-05/0.005532, allocations: 108.5 kB / 0.9848 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-05/0.005632, allocations: 180.3 kB / 0.985 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001093/0.005741, allocations: 184.2 kB / 0.9851 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001162/0.005857, allocations: 188.3 kB / 0.9853 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.006127, allocations: 368.7 kB / 0.9857 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-05/0.006189, allocations: 101 kB / 0.9858 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.006246, allocations: 101 kB / 0.9859 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-05/0.006327, allocations: 188.2 kB / 0.986 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.285e-05/0.00642, allocations: 176.5 kB / 0.9862 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.05e-05/0.006511, allocations: 188.2 kB / 0.9864 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.565e-05/0.006596, allocations: 180.3 kB / 0.9866 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.006785, allocations: 307.7 kB / 0.9869 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.006846, allocations: 109 kB / 0.987 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.53e-05/0.006942, allocations: 184.2 kB / 0.9871 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.007045, allocations: 105 kB / 0.9872 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.007134, allocations: 180.2 kB / 0.9874 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/0.007201, allocations: 108.9 kB / 0.9875 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.229e-05/0.007273, allocations: 99.27 kB / 0.9876 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007273, allocations: 0 / 0.9876 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002263/0.0075, allocations: 7.953 kB / 0.9876 GB, free: 5.285 MB / 0.9356 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.0001498/0.00765, allocations: 174.5 kB / 0.9878 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.881e-05/0.007718, allocations: 15.98 kB / 0.9878 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.00772, allocations: 0 / 0.9878 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.007721, allocations: 0 / 0.9878 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.008175, allocations: 473.6 kB / 0.9882 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.008464, allocations: 196.1 kB / 0.9884 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.492e-05/0.008539, allocations: 71.33 kB / 0.9885 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.71e-05/0.008556, allocations: 0 / 0.9885 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.008585, allocations: 12.5 kB / 0.9885 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.008585, allocations: 0 / 0.9885 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of Templates: time 0.002629/0.01121, allocations: 308.4 kB / 0.9888 GB, free: 4.008 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.23786687105894]