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.001136/0.001136, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001822/0.001822, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9626/0.9626, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.901/1.901, allocations: 359 MB / 0.6063 GB, free: 10.9 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 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.663e-05, allocations: 5.844 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001366/0.001393, allocations: 0.6323 MB / 0.7889 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001297/0.001523, allocations: 7.938 kB / 0.7889 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.001572, allocations: 5.344 kB / 0.7889 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.762e-05/0.001659, allocations: 3.984 kB / 0.7889 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.009e-05/0.00169, allocations: 0 / 0.7889 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.162e-05/0.001751, allocations: 3.938 kB / 0.7889 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.905e-05/0.00182, allocations: 28.77 kB / 0.789 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.001933, allocations: 19.97 kB / 0.789 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.543e-05/0.001968, allocations: 24.48 kB / 0.789 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.438e-05/0.001992, allocations: 8.672 kB / 0.789 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.002009, allocations: 4 kB / 0.789 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-06/0.002017, allocations: 0.9062 kB / 0.789 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.002044, allocations: 11.94 kB / 0.789 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.002065, allocations: 11.98 kB / 0.789 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.666e-05/0.002141, allocations: 32.5 kB / 0.7891 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002143, allocations: 4.719 kB / 0.7891 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002144, allocations: 0 / 0.7891 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.002147, allocations: 1.656 kB / 0.7891 GB, free: 11.46 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.0002411/0.002389, allocations: 372.6 kB / 0.7894 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.002419, allocations: 8.031 kB / 0.7894 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.002442, allocations: 8.891 kB / 0.7895 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.002554, allocations: 129.8 kB / 0.7896 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.002561, allocations: 384 / 0.7896 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.00257, allocations: 8.375 kB / 0.7896 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.109e-05/0.002641, allocations: 54.17 kB / 0.7896 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.002648, allocations: 5.766 kB / 0.7896 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.002654, allocations: 384 / 0.7896 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.002658, allocations: 384 / 0.7896 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.033e-05/0.002678, allocations: 15.94 kB / 0.7897 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.002971, allocations: 0.5108 MB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.458e-05/0.003046, allocations: 261.4 kB / 0.7904 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.003076, allocations: 134.2 kB / 0.7905 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.00324, allocations: 123.2 kB / 0.7907 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.003277, allocations: 152.6 kB / 0.7908 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.003278, allocations: 0 / 0.7908 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.454e-05/0.003323, allocations: 26.31 kB / 0.7908 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.003371, allocations: 178.6 kB / 0.791 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.003458, allocations: 185.8 kB / 0.7912 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.003466, allocations: 25.7 kB / 0.7912 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.003515, allocations: 143.4 kB / 0.7913 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.003516, allocations: 0 / 0.7913 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.003546, allocations: 31.86 kB / 0.7914 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.003648, allocations: 496.6 kB / 0.7918 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-06/0.003656, allocations: 3.938 kB / 0.7918 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-06/0.003663, allocations: 4.875 kB / 0.7918 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/0.003688, allocations: 12.44 kB / 0.7919 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.00369, allocations: 0 / 0.7919 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.793e-05/0.003768, allocations: 42.17 kB / 0.7919 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.00378, allocations: 7.562 kB / 0.7919 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.003784, allocations: 0 / 0.7919 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.762e-06/0.00379, allocations: 0 / 0.7919 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3e-05/0.00382, allocations: 4 kB / 0.7919 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.003822, allocations: 1.281 kB / 0.7919 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.003835, allocations: 7.938 kB / 0.7919 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.003841, allocations: 0 / 0.7919 GB, free: 8.363 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 8.086e-05/0.003922, allocations: 280.4 kB / 0.7922 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.003969, allocations: 153.6 kB / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.004011, allocations: 156.4 kB / 0.7925 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.473e-05/0.004065, allocations: 273.2 kB / 0.7927 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-05/0.004122, allocations: 268.1 kB / 0.793 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-05/0.004183, allocations: 268 kB / 0.7932 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.00434, allocations: 493.3 kB / 0.7937 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/0.004368, allocations: 148.8 kB / 0.7939 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.004399, allocations: 159 kB / 0.794 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.337e-05/0.004453, allocations: 268.1 kB / 0.7943 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.004504, allocations: 268 kB / 0.7945 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.722e-05/0.004561, allocations: 268.1 kB / 0.7948 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-05/0.004616, allocations: 272 kB / 0.795 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.004737, allocations: 444 kB / 0.7955 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.004778, allocations: 163.9 kB / 0.7956 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.004841, allocations: 264.1 kB / 0.7959 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.684e-05/0.004898, allocations: 156.8 kB / 0.796 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.004956, allocations: 268.1 kB / 0.7963 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.004985, allocations: 144.9 kB / 0.7964 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.134e-05/0.005027, allocations: 131.2 kB / 0.7965 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005027, allocations: 0 / 0.7965 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001382/0.005165, allocations: 4 kB / 0.7965 GB, free: 3.441 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 0.0001065/0.005271, allocations: 223.5 kB / 0.7968 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.405e-05/0.005325, allocations: 11.69 kB / 0.7968 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.005327, allocations: 0.5625 kB / 0.7968 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.005329, allocations: 0.5 kB / 0.7968 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.005646, allocations: 0.7045 MB / 0.7975 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001945/0.00584, allocations: 258.3 kB / 0.7977 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.005871, allocations: 59.34 kB / 0.7978 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.642e-05/0.005887, allocations: 0 / 0.7978 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.005923, allocations: 71.08 kB / 0.7978 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.005923, allocations: 0 / 0.7978 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of Templates: time 0.001812/0.007735, allocations: 351.6 kB / 0.7982 GB, free: 1.734 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.014359063003212]