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.001015/0.001015, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001041/0.001041, allocations: 181 kB / 23.36 MB, free: 1.133 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.9728/0.9728, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 2.454/2.454, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.365e-06/2.365e-06, allocations: 3.984 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.989e-05, allocations: 9.688 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001284/0.001304, allocations: 0.7371 MB / 0.8393 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002024/0.001506, allocations: 55.75 kB / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.001569, allocations: 4 kB / 0.8393 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.001671, allocations: 7.875 kB / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.316e-05/0.001704, allocations: 7.922 kB / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.001826, allocations: 19.92 kB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.703e-05/0.001913, allocations: 63.89 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.002038, allocations: 63.58 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.002095, allocations: 59.88 kB / 0.8396 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.77e-05/0.002152, allocations: 39.89 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.002176, allocations: 12 kB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.002188, allocations: 8 kB / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.002225, allocations: 23.92 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.002255, allocations: 31.92 kB / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.002357, allocations: 87.66 kB / 0.8398 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.233e-06/0.002358, allocations: 0 / 0.8398 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002359, allocations: 0 / 0.8398 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.002362, allocations: 0 / 0.8398 GB, free: 13.01 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0002675/0.002629, allocations: 296.5 kB / 0.84 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.63e-05/0.002655, allocations: 12.03 kB / 0.84 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.002688, allocations: 20.92 kB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.002807, allocations: 129.7 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.002824, allocations: 8.375 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.00284, allocations: 16.31 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.002971, allocations: 105.7 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.002977, allocations: 192 / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.002987, allocations: 4.375 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.002995, allocations: 4.375 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.392e-05/0.003039, allocations: 39.84 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.003374, allocations: 285.5 kB / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.129e-05/0.003415, allocations: 18.58 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.228e-05/0.003428, allocations: 16.84 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.003438, allocations: 0 / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.003458, allocations: 38.5 kB / 0.8407 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.003459, allocations: 0 / 0.8407 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.008e-05/0.003549, allocations: 37.69 kB / 0.8407 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.003576, allocations: 55.41 kB / 0.8408 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/0.003643, allocations: 142.7 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.003651, allocations: 25.7 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.003698, allocations: 127.7 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-06/0.003704, allocations: 4 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.003736, allocations: 29.69 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.003808, allocations: 322.8 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.003819, allocations: 8 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.048e-05/0.003829, allocations: 4 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.003863, allocations: 21 kB / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.003865, allocations: 0 / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.43e-05/0.003929, allocations: 69.58 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.003939, allocations: 8 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.003942, allocations: 0 / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.003954, allocations: 0 / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.004014, allocations: 15.94 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.004017, allocations: 0 / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.004035, allocations: 7.953 kB / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.004043, allocations: 3.984 kB / 0.8415 GB, free: 11.01 MB / 0.8073 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 (7): * Single equations (assignments): 7 * 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 6.575e-05/0.004109, allocations: 108.7 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.004122, allocations: 7.938 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.93e-05/0.004201, allocations: 54.17 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.004203, allocations: 0 / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.004204, allocations: 0 / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.004206, allocations: 3.938 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.004355, allocations: 286.9 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.004358, allocations: 7.938 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-05/0.00437, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.004372, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-06/0.004375, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.004375, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.004377, allocations: 8.062 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.076e-05/0.004418, allocations: 57.06 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.004426, allocations: 11.89 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-06/0.004433, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.212e-05/0.004445, allocations: 4 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.004471, allocations: 7.969 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.004472, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.405e-05/0.004496, allocations: 32.09 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004496, allocations: 0 / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.839e-05/0.004595, allocations: 19.89 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 6.382e-05/0.004659, allocations: 80.45 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.691e-05/0.004715, allocations: 24.83 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.004718, allocations: 0 / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.00473, allocations: 12.8 kB / 0.8422 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.503e-05/0.004805, allocations: 12.38 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001993/0.005005, allocations: 176.2 kB / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.367e-05/0.005038, allocations: 63.34 kB / 0.8425 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.005061, allocations: 8.062 kB / 0.8425 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.005108, allocations: 59.36 kB / 0.8425 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.005109, allocations: 0 / 0.8425 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of Templates: time 0.002051/0.00716, allocations: 0.7512 MB / 0.8433 GB, free: 9.125 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 240] 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","",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.170095096807927]