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.001183/0.001183, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001326/0.001326, allocations: 193.1 kB / 16.25 MB, free: 6.621 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 65.69 kB / 0.8986 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.338, allocations: 157.4 MB / 1.052 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002063/0.3401, allocations: 0.6825 MB / 1.053 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001296/0.3402, allocations: 7.938 kB / 1.053 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.3403, allocations: 0 / 1.053 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.3404, allocations: 7.938 kB / 1.053 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.472e-05/0.3405, allocations: 4 kB / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.004e-05/0.3406, allocations: 3.984 kB / 1.053 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.127e-05/0.3407, allocations: 20 kB / 1.053 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.3408, allocations: 31.98 kB / 1.053 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.76e-05/0.3409, allocations: 19.92 kB / 1.053 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.371e-05/0.3409, allocations: 11.92 kB / 1.053 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3409, allocations: 4 kB / 1.053 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.341, allocations: 4 kB / 1.053 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.341, allocations: 11.98 kB / 1.053 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.341, allocations: 19.81 kB / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.971e-05/0.3411, allocations: 47.81 kB / 1.053 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3412, allocations: 4 kB / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.562e-06/0.3412, allocations: 0 / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3412, allocations: 0 / 1.053 GB, free: 7.867 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.000344/0.3415, allocations: 351.6 kB / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3416, allocations: 8.031 kB / 1.053 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.3416, allocations: 8.844 kB / 1.053 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3418, allocations: 180.3 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3418, allocations: 4.375 kB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.3418, allocations: 4.375 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.342, allocations: 86.16 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.342, allocations: 192 / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.342, allocations: 7.938 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.342, allocations: 0 / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.292e-05/0.3421, allocations: 47.91 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.3426, allocations: 487.1 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.191e-05/0.3427, allocations: 173.2 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.3427, allocations: 80.14 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.3427, allocations: 75.28 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.3428, allocations: 109.8 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3428, allocations: 0 / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.35e-05/0.3429, allocations: 37.55 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.3429, allocations: 134.6 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.3431, allocations: 178.8 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3431, allocations: 25.7 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.3432, allocations: 88.14 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-06/0.3432, allocations: 4 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.3432, allocations: 9.719 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3433, allocations: 318.8 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.3434, allocations: 8 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.699e-05/0.3434, allocations: 11.98 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.652e-05/0.3434, allocations: 16.84 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3434, allocations: 0 / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001139/0.3436, allocations: 57.53 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3436, allocations: 4 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3436, allocations: 0 / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3436, allocations: 112 / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.3437, allocations: 7.938 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3437, allocations: 3.938 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.3437, allocations: 15.94 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.3437, allocations: 7.984 kB / 1.056 GB, free: 5.137 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.0001284/0.3439, allocations: 190.7 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/0.344, allocations: 109 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.152e-05/0.344, allocations: 112.8 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.857e-05/0.3441, allocations: 180.3 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.584e-05/0.3442, allocations: 188.1 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.606e-05/0.3443, allocations: 188.2 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.3445, allocations: 413.2 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.836e-05/0.3446, allocations: 104.9 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.3446, allocations: 101 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.39e-05/0.3447, allocations: 184.7 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.041e-05/0.3448, allocations: 184.3 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.254e-05/0.3449, allocations: 180.2 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.649e-05/0.3449, allocations: 184.1 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.3451, allocations: 311.9 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.338e-05/0.3452, allocations: 202 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-05/0.3453, allocations: 180.3 kB / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/0.3454, allocations: 104.9 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.3454, allocations: 184.2 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.3455, allocations: 108.9 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.263e-05/0.3456, allocations: 129.4 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3456, allocations: 4 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002184/0.3458, allocations: 4 kB / 1.059 GB, free: 1.445 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.000135/0.346, allocations: 178.5 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.627e-05/0.346, allocations: 11.94 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.346, allocations: 0 / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.346, allocations: 0 / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.3465, allocations: 467.7 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.3468, allocations: 208.3 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.3471, allocations: 0.6883 MB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.837e-05/0.3472, allocations: 4 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.3472, allocations: 15.44 kB / 1.06 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of SimCode: time 1.693e-06/0.3472, allocations: 0 / 1.06 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.002479/0.3497, allocations: 475.7 kB / 1.061 GB, free: 15.37 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