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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,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=5000,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006434/0.006434, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.91/2.91, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004794, allocations: 13.47 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.361, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.0008909/0.3619, allocations: 345.9 kB / 1.059 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001646/0.3621, allocations: 7.938 kB / 1.059 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.3622, allocations: 0 / 1.059 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.3623, allocations: 0 / 1.059 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.528e-05/0.3624, allocations: 7.938 kB / 1.059 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.278e-05/0.3625, allocations: 4 kB / 1.059 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.225e-05/0.3626, allocations: 23.92 kB / 1.059 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.3627, allocations: 35.97 kB / 1.059 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.465e-05/0.3627, allocations: 3.938 kB / 1.059 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.388e-05/0.3628, allocations: 11.94 kB / 1.059 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.3628, allocations: 4 kB / 1.059 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.3628, allocations: 0 / 1.059 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.3629, allocations: 7.984 kB / 1.059 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.3629, allocations: 41.58 kB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.702e-05/0.363, allocations: 47.8 kB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.363, allocations: 0 / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.883e-06/0.363, allocations: 0 / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.3631, allocations: 0 / 1.059 GB, free: 4.965 MB / 0.8106 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.0003331/0.3634, allocations: 339.6 kB / 1.06 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3634, allocations: 16.02 kB / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.3635, allocations: 8.938 kB / 1.06 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.3637, allocations: 180.2 kB / 1.06 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3637, allocations: 8.375 kB / 1.06 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.3637, allocations: 8.312 kB / 1.06 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3639, allocations: 74.22 kB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3639, allocations: 192 / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3639, allocations: 7.875 kB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3639, allocations: 4 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/0.364, allocations: 47.97 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.3645, allocations: 487.1 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.208e-05/0.3646, allocations: 165.1 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.3647, allocations: 88.11 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.3647, allocations: 79.28 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/0.3648, allocations: 109.8 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.3648, allocations: 0 / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.354e-05/0.3649, allocations: 37.59 kB / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.3649, allocations: 130.7 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.3651, allocations: 167.8 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3651, allocations: 29.7 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.3652, allocations: 88.14 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-06/0.3652, allocations: 0 / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.3652, allocations: 17.72 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3654, allocations: 318.8 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.3654, allocations: 8 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.3654, allocations: 11.92 kB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.819e-05/0.3655, allocations: 12.84 kB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.3655, allocations: 0 / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001276/0.3656, allocations: 53.59 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3656, allocations: 4 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3656, allocations: 4.094 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3656, allocations: 0 / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.3657, allocations: 4 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3657, allocations: 3.938 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.3658, allocations: 7.938 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.3658, allocations: 112 / 1.062 GB, free: 2.266 MB / 0.8106 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.000106/0.3659, allocations: 206.5 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.366, allocations: 112.9 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.366, allocations: 116.9 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.212e-05/0.3661, allocations: 180.2 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.477e-05/0.3662, allocations: 180.2 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.824e-05/0.3662, allocations: 180.2 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.3665, allocations: 421.2 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.072e-05/0.3665, allocations: 109 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.3666, allocations: 104.9 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.375e-05/0.3666, allocations: 176.3 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-05/0.3667, allocations: 188.3 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-05/0.3668, allocations: 188.3 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.69e-05/0.3668, allocations: 180.2 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.367, allocations: 315.7 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.493e-05/0.3671, allocations: 190 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/0.3672, allocations: 180.3 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.3673, allocations: 101 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.3673, allocations: 188.1 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.3674, allocations: 117 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001022/0.3675, allocations: 124.5 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3675, allocations: 0 / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002226/0.3677, allocations: 4 kB / 1.065 GB, free: 14.56 MB / 0.8262 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.0001453/0.3679, allocations: 174.5 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.578e-05/0.3679, allocations: 19.94 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.368, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.368, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.3684, allocations: 0.5224 MB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.3687, allocations: 217.9 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.369, allocations: 0.6887 MB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.369, allocations: 4 kB / 1.067 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.3691, allocations: 11.44 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3691, allocations: 0 / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of Templates: time 0.002622/0.3717, allocations: 445.6 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) 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) Reference file matches