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.0009358/0.0009358, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001008/0.001008, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9607/0.9607, allocations: 177.1 MB / 204.2 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.774/1.774, allocations: 359 MB / 0.6052 GB, free: 11.04 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.713e-06/1.713e-06, allocations: 0.5469 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.949e-05, allocations: 7.125 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001228/0.001248, allocations: 0.6267 MB / 0.7877 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001494/0.001397, allocations: 19.91 kB / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.001446, allocations: 4.5 kB / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.366e-05/0.001539, allocations: 0 / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.446e-05/0.001574, allocations: 0.625 kB / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.561e-05/0.001639, allocations: 1.406 kB / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.382e-05/0.001723, allocations: 27.92 kB / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.001851, allocations: 15.98 kB / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.001884, allocations: 23.97 kB / 0.7878 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.735e-05/0.001912, allocations: 12.77 kB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.001935, allocations: 4 kB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.001946, allocations: 4.562 kB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.001975, allocations: 8 kB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.002004, allocations: 17.17 kB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.995e-05/0.002084, allocations: 31.84 kB / 0.7879 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002085, allocations: 0 / 0.7879 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002086, allocations: 5.562 kB / 0.7879 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.00209, allocations: 0 / 0.7879 GB, free: 11.73 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.0003154/0.002405, allocations: 372.6 kB / 0.7882 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.002442, allocations: 8.031 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.002478, allocations: 10.11 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.002616, allocations: 128.5 kB / 0.7884 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.002627, allocations: 4.375 kB / 0.7884 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.002637, allocations: 5.062 kB / 0.7884 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.951e-05/0.002736, allocations: 58.17 kB / 0.7884 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.002744, allocations: 1.094 kB / 0.7884 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.002753, allocations: 384 / 0.7884 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.00276, allocations: 384 / 0.7884 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/0.00279, allocations: 16.59 kB / 0.7884 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.003139, allocations: 0.5409 MB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.687e-05/0.003216, allocations: 263 kB / 0.7892 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.003246, allocations: 126.9 kB / 0.7893 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.00327, allocations: 119.2 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.003315, allocations: 156.6 kB / 0.7896 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.003316, allocations: 0.9375 kB / 0.7896 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.017e-05/0.003366, allocations: 34.25 kB / 0.7896 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.00342, allocations: 173.9 kB / 0.7898 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.302e-05/0.003513, allocations: 185.8 kB / 0.79 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.003521, allocations: 25.7 kB / 0.79 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.003568, allocations: 142.8 kB / 0.7901 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/0.003571, allocations: 0 / 0.7901 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.0036, allocations: 27.38 kB / 0.7902 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.003706, allocations: 0.4883 MB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-06/0.003714, allocations: 0 / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-06/0.003721, allocations: 4.828 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.027e-05/0.003752, allocations: 19.56 kB / 0.7907 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.003755, allocations: 5.656 kB / 0.7907 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.383e-05/0.003838, allocations: 37.66 kB / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.00385, allocations: 5.875 kB / 0.7907 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.003854, allocations: 1.562 kB / 0.7907 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.003867, allocations: 3.984 kB / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.735e-05/0.003914, allocations: 4 kB / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.003918, allocations: 0 / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.242e-05/0.003931, allocations: 4 kB / 0.7907 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.003938, allocations: 1.344 kB / 0.7907 GB, free: 8.602 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.57e-05/0.004014, allocations: 279.7 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.004053, allocations: 150.2 kB / 0.7911 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.004096, allocations: 160.3 kB / 0.7913 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.656e-05/0.004153, allocations: 268.2 kB / 0.7915 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.767e-05/0.00421, allocations: 272 kB / 0.7918 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.782e-05/0.004268, allocations: 264.6 kB / 0.7921 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.004439, allocations: 0.5091 MB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-05/0.004471, allocations: 148.9 kB / 0.7927 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.004506, allocations: 152.8 kB / 0.7928 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.343e-05/0.00456, allocations: 268.1 kB / 0.7931 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-05/0.004616, allocations: 264.1 kB / 0.7933 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.893e-05/0.004675, allocations: 273 kB / 0.7936 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.87e-05/0.004734, allocations: 272.1 kB / 0.7939 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.004855, allocations: 452.4 kB / 0.7943 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.004893, allocations: 152.8 kB / 0.7944 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.345e-05/0.004956, allocations: 268.5 kB / 0.7947 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.005093, allocations: 149.9 kB / 0.7948 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.005152, allocations: 272 kB / 0.7951 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.005191, allocations: 144.9 kB / 0.7952 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.005233, allocations: 135.8 kB / 0.7954 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005233, allocations: 0 / 0.7954 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001431/0.005376, allocations: 4.531 kB / 0.7954 GB, free: 3.648 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.527e-05/0.005462, allocations: 219.8 kB / 0.7956 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.741e-05/0.005529, allocations: 7.688 kB / 0.7956 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.005531, allocations: 5.094 kB / 0.7956 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.005533, allocations: 4 kB / 0.7956 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.005843, allocations: 0.7129 MB / 0.7963 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.006057, allocations: 253.3 kB / 0.7965 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.232e-05/0.006089, allocations: 59.34 kB / 0.7966 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.693e-05/0.006106, allocations: 4.812 kB / 0.7966 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.006126, allocations: 8.5 kB / 0.7966 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.006127, allocations: 0.9375 kB / 0.7966 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of Templates: time 0.001835/0.007962, allocations: 342.8 kB / 0.7969 GB, free: 2.008 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: 4.749502538703382]