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.0007886/0.0007886, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007435/0.0007435, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8619/0.8619, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.725/1.725, allocations: 377.9 MB / 0.6229 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] 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 3.086e-06/3.086e-06, allocations: 0 / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/3.036e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001571/0.001601, allocations: 0.6091 MB / 0.9828 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001485/0.001749, allocations: 11.92 kB / 0.9828 GB, free: 1.484 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.0018, allocations: 0 / 0.9828 GB, free: 1.484 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.142e-05/0.001892, allocations: 7.984 kB / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.355e-05/0.001925, allocations: 4 kB / 0.9828 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.768e-05/0.001993, allocations: 7.938 kB / 0.9828 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.002071, allocations: 19.92 kB / 0.9828 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.002193, allocations: 23.98 kB / 0.9829 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.002228, allocations: 19.97 kB / 0.9829 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.85e-05/0.002257, allocations: 11.94 kB / 0.9829 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.002278, allocations: 0 / 0.9829 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.002287, allocations: 4 kB / 0.9829 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.002316, allocations: 11.98 kB / 0.9829 GB, free: 1.375 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.00234, allocations: 15.88 kB / 0.9829 GB, free: 1.359 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.278e-05/0.002433, allocations: 51.86 kB / 0.983 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002435, allocations: 0 / 0.983 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.382e-06/0.002437, allocations: 0 / 0.983 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.00244, allocations: 0 / 0.983 GB, free: 1.309 MB / 0.9323 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.0002865/0.002727, allocations: 282.1 kB / 0.9832 GB, free: 1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.002762, allocations: 8.031 kB / 0.9832 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.00279, allocations: 8.891 kB / 0.9833 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.002941, allocations: 117.7 kB / 0.9834 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.002954, allocations: 8.375 kB / 0.9834 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.002963, allocations: 384 / 0.9834 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.003087, allocations: 86.16 kB / 0.9835 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.003095, allocations: 192 / 0.9835 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.003105, allocations: 4.375 kB / 0.9835 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.003109, allocations: 384 / 0.9835 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.003164, allocations: 55.84 kB / 0.9835 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.003497, allocations: 410.9 kB / 0.9839 GB, free: 260 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.366e-05/0.003561, allocations: 177.1 kB / 0.9841 GB, free: 72 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.003599, allocations: 80.14 kB / 0.9841 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.003615, allocations: 75.28 kB / 0.9842 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.003647, allocations: 105.8 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.003648, allocations: 3.938 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 4.965e-05/0.003697, allocations: 33.7 kB / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.003737, allocations: 126.7 kB / 0.9845 GB, free: 15.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/0.003823, allocations: 129.8 kB / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.003831, allocations: 25.7 kB / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.003871, allocations: 96.14 kB / 0.9847 GB, free: 15.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.003874, allocations: 0 / 0.9847 GB, free: 15.36 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.0039, allocations: 21.7 kB / 0.9847 GB, free: 15.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.003972, allocations: 318.8 kB / 0.985 GB, free: 15.01 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.003985, allocations: 7.984 kB / 0.9851 GB, free: 15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-06/0.003993, allocations: 4 kB / 0.9851 GB, free: 15 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.004026, allocations: 28.84 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.004028, allocations: 0 / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.116e-05/0.004119, allocations: 45.69 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.004129, allocations: 4 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.004133, allocations: 0 / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.004144, allocations: 0 / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.991e-05/0.004194, allocations: 7.984 kB / 0.9851 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/0.004198, allocations: 0 / 0.9851 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.004212, allocations: 7.953 kB / 0.9851 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.00422, allocations: 0 / 0.9851 GB, free: 14.89 MB / 0.948 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 7.083e-05/0.004291, allocations: 205.1 kB / 0.9853 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.004325, allocations: 108.9 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.004356, allocations: 104.5 kB / 0.9855 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.631e-05/0.004392, allocations: 176.3 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-05/0.004435, allocations: 188.2 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.006e-05/0.004475, allocations: 184.2 kB / 0.9861 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.004608, allocations: 372.8 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/0.004629, allocations: 105 kB / 0.9865 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.004651, allocations: 101.1 kB / 0.9866 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.633e-05/0.004688, allocations: 180.2 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.004732, allocations: 196.3 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.92e-05/0.004771, allocations: 180.2 kB / 0.9872 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.76e-05/0.004809, allocations: 180.3 kB / 0.9873 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.817e-05/0.004897, allocations: 315.7 kB / 0.9876 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.004925, allocations: 105 kB / 0.9877 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.004972, allocations: 184.2 kB / 0.9879 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.608e-05/0.005018, allocations: 101 kB / 0.988 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.005061, allocations: 184.2 kB / 0.9882 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.005086, allocations: 105 kB / 0.9883 GB, free: 11.51 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.005128, allocations: 99.27 kB / 0.9884 GB, free: 11.41 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005128, allocations: 7.938 kB / 0.9884 GB, free: 11.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001417/0.00527, allocations: 11.89 kB / 0.9884 GB, free: 11.39 MB / 0.948 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 8.079e-05/0.005351, allocations: 170.5 kB / 0.9885 GB, free: 11.21 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.883e-05/0.005409, allocations: 11.98 kB / 0.9886 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.005411, allocations: 0 / 0.9886 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.005413, allocations: 3.938 kB / 0.9886 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.005681, allocations: 471 kB / 0.989 GB, free: 10.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.005885, allocations: 217.8 kB / 0.9892 GB, free: 10.49 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.79e-05/0.005933, allocations: 75.39 kB / 0.9893 GB, free: 10.39 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.005955, allocations: 12.5 kB / 0.9893 GB, free: 10.38 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/0.005955, allocations: 0 / 0.9893 GB, free: 10.38 MB / 0.948 GB Notification: Performance of Templates: time 0.001263/0.007218, allocations: 0.6092 MB / 0.9899 GB, free: 9.773 MB / 0.948 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: 6.37314182985574]