Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001467/0.001467, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001589/0.001589, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.489/1.489, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.198/3.198, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.364e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002071/0.002105, allocations: 0.6236 MB / 0.8782 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002133/0.002318, allocations: 16.73 kB / 0.8782 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.002383, allocations: 4 kB / 0.8782 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.002499, allocations: 0 / 0.8782 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.308e-05/0.002532, allocations: 3.938 kB / 0.8782 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.696e-05/0.002609, allocations: 5.078 kB / 0.8782 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.942e-05/0.002709, allocations: 29.78 kB / 0.8782 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.002848, allocations: 20.92 kB / 0.8783 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.002901, allocations: 15.98 kB / 0.8783 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.782e-05/0.002939, allocations: 16.95 kB / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.00296, allocations: 4 kB / 0.8783 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.002974, allocations: 4 kB / 0.8783 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.003011, allocations: 9.109 kB / 0.8783 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.355e-05/0.003065, allocations: 11.94 kB / 0.8783 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.003189, allocations: 39.92 kB / 0.8784 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003191, allocations: 5.062 kB / 0.8784 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003191, allocations: 0 / 0.8784 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.003195, allocations: 0 / 0.8784 GB, free: 5.754 MB / 0.8386 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.000421/0.003616, allocations: 281.7 kB / 0.8786 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.003656, allocations: 8.031 kB / 0.8786 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.003713, allocations: 12.94 kB / 0.8786 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.003966, allocations: 125.6 kB / 0.8788 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.003981, allocations: 4.375 kB / 0.8788 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.004004, allocations: 8.359 kB / 0.8788 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.00421, allocations: 78.22 kB / 0.8789 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.00422, allocations: 192 / 0.8789 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.004236, allocations: 4.375 kB / 0.8789 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.004242, allocations: 1 kB / 0.8789 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.004342, allocations: 51.91 kB / 0.8789 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.004953, allocations: 411.5 kB / 0.8793 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.005116, allocations: 177.9 kB / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.005177, allocations: 80.14 kB / 0.8795 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.731e-05/0.005224, allocations: 76.09 kB / 0.8796 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.011e-05/0.005314, allocations: 113.8 kB / 0.8797 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.005316, allocations: 1.531 kB / 0.8797 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001142/0.00543, allocations: 29.66 kB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.005534, allocations: 130.6 kB / 0.8799 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.005712, allocations: 129.8 kB / 0.88 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.005735, allocations: 26.67 kB / 0.88 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.005834, allocations: 96.05 kB / 0.8801 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.005837, allocations: 0 / 0.8801 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.005911, allocations: 18.45 kB / 0.8801 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.006101, allocations: 318.8 kB / 0.8804 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.006124, allocations: 12.09 kB / 0.8805 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.449e-05/0.006139, allocations: 11.94 kB / 0.8805 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.432e-05/0.006193, allocations: 16.84 kB / 0.8805 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006195, allocations: 0 / 0.8805 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001849/0.00638, allocations: 49.62 kB / 0.8805 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.006405, allocations: 10.34 kB / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.006412, allocations: 0 / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.006434, allocations: 0 / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.351e-05/0.006507, allocations: 0 / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.006514, allocations: 8.094 kB / 0.8805 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.006539, allocations: 3.984 kB / 0.8806 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.006552, allocations: 4 kB / 0.8806 GB, free: 3.332 MB / 0.8386 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.0001627/0.006715, allocations: 193.1 kB / 0.8807 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.006832, allocations: 112.9 kB / 0.8808 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.753e-05/0.006919, allocations: 109.1 kB / 0.881 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001126/0.007032, allocations: 180.3 kB / 0.8811 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001164/0.007148, allocations: 176.3 kB / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000408/0.007556, allocations: 184.2 kB / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.007882, allocations: 380.8 kB / 0.8818 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.596e-05/0.007948, allocations: 108.9 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.008018, allocations: 101.1 kB / 0.882 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.008124, allocations: 180.3 kB / 0.8822 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.008239, allocations: 184.2 kB / 0.8824 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001184/0.008358, allocations: 184.2 kB / 0.8826 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001086/0.008466, allocations: 184.2 kB / 0.8827 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.008713, allocations: 303.7 kB / 0.883 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/0.008796, allocations: 109 kB / 0.8831 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.008915, allocations: 180.3 kB / 0.8833 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.009028, allocations: 108.9 kB / 0.8834 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.009141, allocations: 176.3 kB / 0.8836 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/0.00922, allocations: 108.9 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.365e-05/0.009303, allocations: 99.27 kB / 0.8838 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.009304, allocations: 0 / 0.8838 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002572/0.009561, allocations: 11.89 kB / 0.8838 GB, free: 15.85 MB / 0.8542 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.000199/0.00976, allocations: 174.5 kB / 0.8839 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.533e-05/0.009835, allocations: 8 kB / 0.884 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.009837, allocations: 0 / 0.884 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.009839, allocations: 3.938 kB / 0.884 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.0104, allocations: 475.7 kB / 0.8844 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.01077, allocations: 199.8 kB / 0.8846 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.74e-05/0.01087, allocations: 71.2 kB / 0.8847 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.112e-05/0.01089, allocations: 0 / 0.8847 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.01092, allocations: 8.5 kB / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of SimCode: time 9.31e-07/0.01092, allocations: 0 / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of Templates: time 0.003407/0.01433, allocations: 328.3 kB / 0.885 GB, free: 14.56 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.181519467034377]