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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7629 GB, free: 15.32 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002032/0.002032, allocations: 67.89 kB / 1.107 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.099, allocations: 168.7 MB / 1.272 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002216/1.101, allocations: 0.6255 MB / 1.273 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001852/1.101, allocations: 7.578 kB / 1.273 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/1.101, allocations: 4.812 kB / 1.273 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/1.101, allocations: 9.016 kB / 1.273 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/1.101, allocations: 1.969 kB / 1.273 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.285e-05/1.102, allocations: 0.8125 kB / 1.273 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/1.102, allocations: 27.27 kB / 1.273 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/1.102, allocations: 21.08 kB / 1.273 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.6e-05/1.102, allocations: 9.734 kB / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.605e-05/1.102, allocations: 22.81 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/1.102, allocations: 2.906 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/1.102, allocations: 2.969 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/1.102, allocations: 5.328 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/1.102, allocations: 24.7 kB / 1.273 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/1.102, allocations: 49.09 kB / 1.273 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.102, allocations: 0.6562 kB / 1.273 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.402e-06/1.102, allocations: 0 / 1.273 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.441e-05/1.102, allocations: 5 kB / 1.273 GB, free: 7.461 MB / 0.9981 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.0003518/1.103, allocations: 345.7 kB / 1.273 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.103, allocations: 9.281 kB / 1.273 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/1.103, allocations: 7.922 kB / 1.273 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/1.103, allocations: 188.1 kB / 1.273 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/1.103, allocations: 10.72 kB / 1.273 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/1.103, allocations: 3.719 kB / 1.273 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/1.103, allocations: 74.59 kB / 1.273 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.103, allocations: 192 / 1.273 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/1.103, allocations: 4.75 kB / 1.273 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.103, allocations: 1.625 kB / 1.273 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.578e-05/1.103, allocations: 48.31 kB / 1.273 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/1.104, allocations: 487.9 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.106e-05/1.104, allocations: 174.6 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/1.104, allocations: 80.14 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/1.104, allocations: 76.03 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/1.104, allocations: 107.3 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.104, allocations: 0 / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.92e-05/1.104, allocations: 37.06 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/1.104, allocations: 128.5 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/1.104, allocations: 185.3 kB / 1.275 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/1.104, allocations: 26.97 kB / 1.275 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/1.104, allocations: 89.58 kB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/1.104, allocations: 112 / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/1.104, allocations: 21.31 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.976e-05/1.104, allocations: 318.5 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/1.104, allocations: 10.69 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/1.104, allocations: 7.547 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/1.104, allocations: 16.25 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.104, allocations: 0.8438 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001217/1.104, allocations: 52.22 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.105, allocations: 5.094 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.105, allocations: 0 / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.105, allocations: 6.453 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/1.105, allocations: 6.938 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/1.105, allocations: 3.938 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/1.105, allocations: 13.84 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/1.105, allocations: 0.8125 kB / 1.275 GB, free: 5.074 MB / 0.9981 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.159e-05/1.105, allocations: 189.8 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/1.105, allocations: 119.8 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/1.105, allocations: 112 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/1.105, allocations: 180.9 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-05/1.105, allocations: 186.6 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.509e-05/1.105, allocations: 181.8 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/1.105, allocations: 419.9 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/1.105, allocations: 105.9 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/1.105, allocations: 105.9 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.121e-05/1.105, allocations: 181.1 kB / 1.277 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/1.105, allocations: 182.8 kB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.82e-05/1.105, allocations: 177.5 kB / 1.277 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001664/1.105, allocations: 185 kB / 1.277 GB, free: 18.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/1.106, allocations: 312.8 kB / 1.278 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/1.106, allocations: 190.6 kB / 1.278 GB, free: 18.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.623e-05/1.106, allocations: 178.4 kB / 1.278 GB, free: 17.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/1.106, allocations: 108 kB / 1.278 GB, free: 17.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/1.106, allocations: 181.1 kB / 1.278 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/1.106, allocations: 110.7 kB / 1.278 GB, free: 17.58 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001175/1.106, allocations: 129.9 kB / 1.279 GB, free: 17.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.106, allocations: 5 kB / 1.279 GB, free: 17.49 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002233/1.106, allocations: 3.906 kB / 1.279 GB, free: 17.49 MB / 1.014 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.0001665/1.106, allocations: 177.3 kB / 1.279 GB, free: 17.33 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.875e-05/1.107, allocations: 13.5 kB / 1.279 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.107, allocations: 0 / 1.279 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/1.107, allocations: 4.062 kB / 1.279 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/1.107, allocations: 458.8 kB / 1.279 GB, free: 16.87 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/1.107, allocations: 222.9 kB / 1.279 GB, free: 16.67 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/1.108, allocations: 0.687 MB / 1.28 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.751e-05/1.108, allocations: 6.391 kB / 1.28 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/1.108, allocations: 13.78 kB / 1.28 GB, free: 15.96 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/1.108, allocations: 0 / 1.28 GB, free: 15.96 MB / 1.014 GB Notification: Performance of Templates: time 0.00307/1.111, allocations: 477.4 kB / 1.281 GB, free: 15.88 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.305949841625988]