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.001592/0.001592, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001958/0.001958, allocations: 194.5 kB / 16.14 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.835/2.835, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 66.86 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3257, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001818/0.3275, allocations: 0.6612 MB / 1.053 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001364/0.3277, allocations: 15.92 kB / 1.053 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/0.3278, allocations: 0 / 1.053 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.3279, allocations: 7.938 kB / 1.053 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.762e-05/0.3279, allocations: 0 / 1.053 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.407e-05/0.328, allocations: 7.984 kB / 1.053 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.515e-05/0.3281, allocations: 19.94 kB / 1.053 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3282, allocations: 31.98 kB / 1.053 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.136e-05/0.3282, allocations: 15.92 kB / 1.053 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.476e-05/0.3283, allocations: 11.94 kB / 1.053 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.3283, allocations: 0 / 1.053 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.3283, allocations: 4 kB / 1.053 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.3283, allocations: 11.98 kB / 1.053 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.3284, allocations: 19.86 kB / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.144e-05/0.3284, allocations: 47.81 kB / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3284, allocations: 4 kB / 1.053 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.21e-07/0.3285, allocations: 0 / 1.053 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.3285, allocations: 3.938 kB / 1.053 GB, free: 7.988 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.0003255/0.3288, allocations: 347.6 kB / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3288, allocations: 12.03 kB / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.3289, allocations: 4.844 kB / 1.053 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.329, allocations: 176.3 kB / 1.053 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3291, allocations: 12.31 kB / 1.053 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.3291, allocations: 4.375 kB / 1.053 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.3292, allocations: 78.22 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3293, allocations: 4.125 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3293, allocations: 7.938 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3293, allocations: 4 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.983e-05/0.3294, allocations: 43.97 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.3298, allocations: 483.1 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.191e-05/0.3299, allocations: 173.1 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.3299, allocations: 80.14 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3299, allocations: 79.22 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.33, allocations: 113.8 kB / 1.054 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.33, allocations: 0 / 1.054 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.674e-05/0.3301, allocations: 29.61 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.3301, allocations: 134.7 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.3303, allocations: 176.8 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.3303, allocations: 25.7 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.3304, allocations: 92.12 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/0.3304, allocations: 4 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.3304, allocations: 13.72 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3305, allocations: 314.8 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.3306, allocations: 8 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/0.3306, allocations: 15.92 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.087e-05/0.3306, allocations: 20.84 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3306, allocations: 0 / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001053/0.3307, allocations: 49.59 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3308, allocations: 8 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3308, allocations: 0 / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3308, allocations: 4 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.595e-05/0.3308, allocations: 0 / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.3309, allocations: 11.92 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.3309, allocations: 16.05 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3309, allocations: 3.938 kB / 1.055 GB, free: 5.262 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 8.937e-05/0.331, allocations: 193.1 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.3311, allocations: 108.9 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.3311, allocations: 112.8 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.993e-05/0.3312, allocations: 180.2 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.181e-05/0.3312, allocations: 192.1 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.055e-05/0.3313, allocations: 184.2 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.3315, allocations: 421.1 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-05/0.3316, allocations: 101 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.3316, allocations: 104.9 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.431e-05/0.3317, allocations: 188.3 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/0.3317, allocations: 176.5 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.582e-05/0.3318, allocations: 188.2 kB / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.603e-05/0.3319, allocations: 180.2 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.332, allocations: 319.7 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.3321, allocations: 193.9 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.3321, allocations: 176.3 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.3322, allocations: 101 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/0.3323, allocations: 192.1 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.3323, allocations: 101 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.475e-05/0.3324, allocations: 131.2 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3324, allocations: 0 / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002211/0.3327, allocations: 4 kB / 1.059 GB, free: 1.566 MB / 0.8106 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.0001213/0.3328, allocations: 182.5 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.252e-05/0.3329, allocations: 7.938 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3329, allocations: 0 / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.3329, allocations: 0 / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.3334, allocations: 0.5284 MB / 1.059 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.3337, allocations: 214 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.334, allocations: 0.6848 MB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.679e-05/0.334, allocations: 8 kB / 1.06 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.334, allocations: 11.44 kB / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.334, allocations: 0 / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of Templates: time 0.00215/0.3362, allocations: 454.8 kB / 1.061 GB, free: 15.44 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