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.001306/0.001306, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0014/0.0014, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.9233/0.9233, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 1.83/1.83, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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.774e-06/1.774e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.631e-05, allocations: 3.078 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001138/0.001155, allocations: 0.6205 MB / 0.7877 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001419/0.001296, allocations: 15.92 kB / 0.7877 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.00135, allocations: 1.125 kB / 0.7877 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.891e-05/0.001439, allocations: 3.984 kB / 0.7877 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.205e-05/0.001471, allocations: 0 / 0.7877 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.713e-05/0.001538, allocations: 5 kB / 0.7877 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.001624, allocations: 23.92 kB / 0.7877 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.001743, allocations: 20.55 kB / 0.7878 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/0.001779, allocations: 19.97 kB / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.996e-05/0.001809, allocations: 20.55 kB / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.00183, allocations: 4 kB / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.00184, allocations: 4.906 kB / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.001869, allocations: 8 kB / 0.7878 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.001896, allocations: 12.59 kB / 0.7878 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.264e-05/0.001978, allocations: 35.83 kB / 0.7879 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.00198, allocations: 3.5 kB / 0.7879 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.001981, allocations: 0 / 0.7879 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.001985, allocations: 0 / 0.7879 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.0002644/0.002249, allocations: 368.6 kB / 0.7882 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.00228, allocations: 8.031 kB / 0.7882 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.002316, allocations: 12.89 kB / 0.7882 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.002448, allocations: 124.5 kB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.002459, allocations: 12.31 kB / 0.7884 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.002468, allocations: 4.375 kB / 0.7884 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.002568, allocations: 46.97 kB / 0.7884 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.002575, allocations: 4.172 kB / 0.7884 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.002585, allocations: 6.031 kB / 0.7884 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.002591, allocations: 384 / 0.7884 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.186e-05/0.002623, allocations: 19.92 kB / 0.7884 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.002972, allocations: 0.537 MB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.776e-05/0.00305, allocations: 270.8 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.00308, allocations: 126.9 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.003104, allocations: 119.2 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.003145, allocations: 160.5 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.003146, allocations: 1.594 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.157e-05/0.003197, allocations: 26.31 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.003247, allocations: 170.6 kB / 0.7898 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.511e-05/0.003342, allocations: 189.8 kB / 0.79 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.003351, allocations: 26.67 kB / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.003401, allocations: 142.8 kB / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.003403, allocations: 1.625 kB / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.003432, allocations: 23.48 kB / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.003544, allocations: 0.4961 MB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.003554, allocations: 0 / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/0.003565, allocations: 8.5 kB / 0.7907 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.638e-05/0.003591, allocations: 8.375 kB / 0.7907 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.003593, allocations: 0 / 0.7907 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.137e-05/0.003675, allocations: 42.16 kB / 0.7907 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.003686, allocations: 6.562 kB / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.00369, allocations: 1 kB / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.003701, allocations: 0 / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.688e-05/0.003748, allocations: 7.984 kB / 0.7907 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.003752, allocations: 0.5312 kB / 0.7907 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.003766, allocations: 5.375 kB / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.003774, allocations: 0 / 0.7907 GB, free: 8.914 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 7.891e-05/0.003853, allocations: 279.7 kB / 0.791 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.003891, allocations: 150 kB / 0.7911 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.003932, allocations: 152.4 kB / 0.7913 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.535e-05/0.003988, allocations: 276.1 kB / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001988/0.004186, allocations: 272.1 kB / 0.7918 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.382e-05/0.00424, allocations: 264.6 kB / 0.7921 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.004402, allocations: 0.5084 MB / 0.7926 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/0.004432, allocations: 144.9 kB / 0.7927 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.004476, allocations: 153.7 kB / 0.7928 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-05/0.004528, allocations: 268.1 kB / 0.7931 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/0.004581, allocations: 268 kB / 0.7933 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.442e-05/0.004636, allocations: 273.1 kB / 0.7936 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.155e-05/0.004687, allocations: 268.1 kB / 0.7939 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.004803, allocations: 449.1 kB / 0.7943 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.004841, allocations: 160.8 kB / 0.7944 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.004899, allocations: 268.1 kB / 0.7947 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.004953, allocations: 148.9 kB / 0.7948 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.005007, allocations: 272.9 kB / 0.7951 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.005035, allocations: 144.9 kB / 0.7952 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.126e-05/0.005077, allocations: 137.7 kB / 0.7954 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005077, allocations: 0 / 0.7954 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001382/0.005215, allocations: 4 kB / 0.7954 GB, free: 3.961 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 8.781e-05/0.005303, allocations: 222.4 kB / 0.7956 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.843e-05/0.005361, allocations: 18.56 kB / 0.7956 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005363, allocations: 0 / 0.7956 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-06/0.005364, allocations: 0 / 0.7956 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.005672, allocations: 0.712 MB / 0.7963 GB, free: 3 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.005911, allocations: 249.3 kB / 0.7965 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.133e-05/0.005942, allocations: 59.34 kB / 0.7966 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.664e-05/0.005959, allocations: 4 kB / 0.7966 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.005979, allocations: 9.875 kB / 0.7966 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of SimCode: time 8.91e-07/0.00598, allocations: 0 / 0.7966 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of Templates: time 0.001699/0.007679, allocations: 329.9 kB / 0.7969 GB, free: 2.328 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0446182179730386]