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.001867/0.001867, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002448/0.002448, allocations: 167.1 kB / 22.46 MB, free: 5.363 MB / 14.72 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 1.537/1.537, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.877/2.877, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.444e-06/2.444e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.752e-05/3.996e-05, allocations: 5.797 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002024/0.002064, allocations: 0.6201 MB / 1.001 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001689/0.002233, allocations: 15.92 kB / 1.001 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.002305, allocations: 0 / 1.001 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.002421, allocations: 7.875 kB / 1.001 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.044e-05/0.002461, allocations: 0 / 1.001 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 8.455e-05/0.002546, allocations: 4 kB / 1.001 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.676e-05/0.002642, allocations: 31.91 kB / 1.001 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.002816, allocations: 20 kB / 1.001 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.727e-05/0.002873, allocations: 23.97 kB / 1.001 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.738e-05/0.002911, allocations: 7.984 kB / 1.001 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.002943, allocations: 0 / 1.001 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.002957, allocations: 4 kB / 1.001 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.696e-05/0.002994, allocations: 11.94 kB / 1.001 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.003033, allocations: 15.92 kB / 1.001 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.003157, allocations: 47.86 kB / 1.001 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003159, allocations: 0 / 1.001 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003159, allocations: 4 kB / 1.001 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.003171, allocations: 0 / 1.001 GB, free: 6.484 MB / 0.9512 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.0005515/0.003722, allocations: 274.2 kB / 1.001 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.003759, allocations: 8.031 kB / 1.001 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.003798, allocations: 8.891 kB / 1.001 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.004014, allocations: 125.7 kB / 1.001 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.004022, allocations: 384 / 1.001 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.004037, allocations: 4.375 kB / 1.001 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.004215, allocations: 82.16 kB / 1.001 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.004227, allocations: 4.125 kB / 1.001 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.004238, allocations: 4.375 kB / 1.001 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.004242, allocations: 4.375 kB / 1.001 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.513e-05/0.004327, allocations: 55.84 kB / 1.001 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.004859, allocations: 410.9 kB / 1.002 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.004971, allocations: 169.1 kB / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.00502, allocations: 80.14 kB / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.005057, allocations: 79.38 kB / 1.002 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.799e-05/0.005115, allocations: 109.8 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.005116, allocations: 0 / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.632e-05/0.005192, allocations: 37.62 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.005276, allocations: 130.7 kB / 1.002 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.005417, allocations: 129.8 kB / 1.003 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.005431, allocations: 25.7 kB / 1.003 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.005502, allocations: 92.09 kB / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.005505, allocations: 0 / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.005549, allocations: 29.66 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.005721, allocations: 314.8 kB / 1.003 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.005738, allocations: 4 kB / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.9e-05/0.005757, allocations: 11.98 kB / 1.003 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.253e-05/0.0058, allocations: 12.86 kB / 1.003 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.005803, allocations: 3.984 kB / 1.003 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001263/0.00593, allocations: 53.69 kB / 1.003 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.005945, allocations: 10.28 kB / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.00595, allocations: 0 / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.005977, allocations: 0 / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.006044, allocations: 4 kB / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.006049, allocations: 0 / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.006071, allocations: 4 kB / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.006083, allocations: 4 kB / 1.003 GB, free: 4.066 MB / 0.9512 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 0.0001565/0.006239, allocations: 201.6 kB / 1.003 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.549e-05/0.006335, allocations: 113 kB / 1.003 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.906e-05/0.006414, allocations: 108.4 kB / 1.003 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001822/0.006596, allocations: 180.3 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.632e-05/0.006692, allocations: 184.2 kB / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001985/0.006891, allocations: 180.3 kB / 1.004 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.007164, allocations: 372.7 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001382/0.007303, allocations: 105 kB / 1.004 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.695e-05/0.00736, allocations: 101 kB / 1.005 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.925e-05/0.007459, allocations: 184.2 kB / 1.005 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.946e-05/0.007558, allocations: 180.5 kB / 1.005 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.288e-05/0.007641, allocations: 180.2 kB / 1.005 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001243/0.007765, allocations: 188.3 kB / 1.005 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.007966, allocations: 315.7 kB / 1.006 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.008027, allocations: 101 kB / 1.006 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.008133, allocations: 192.1 kB / 1.006 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.802e-05/0.008231, allocations: 101 kB / 1.006 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.008385, allocations: 180.3 kB / 1.006 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/0.008441, allocations: 104.9 kB / 1.006 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.934e-05/0.00852, allocations: 99.27 kB / 1.006 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.00852, allocations: 0 / 1.006 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002626/0.008783, allocations: 7.938 kB / 1.006 GB, free: 0.5742 MB / 0.9512 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.000176/0.008959, allocations: 178.5 kB / 1.006 GB, free: 400 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.437e-05/0.009033, allocations: 8 kB / 1.006 GB, free: 392 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.009035, allocations: 0 / 1.006 GB, free: 392 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.878e-06/0.009039, allocations: 4 kB / 1.007 GB, free: 388 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.009672, allocations: 463.6 kB / 1.007 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.01003, allocations: 204 kB / 1.007 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.609e-05/0.01012, allocations: 67.34 kB / 1.007 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.264e-05/0.01014, allocations: 7.938 kB / 1.007 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.01017, allocations: 12.56 kB / 1.007 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.01017, allocations: 0 / 1.007 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of Templates: time 0.002898/0.01307, allocations: 307 kB / 1.008 GB, free: 15.3 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.334567602723837]