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) 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.1.0-maint.11.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007419/0.007419, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00217/0.00217, allocations: 196 kB / 16.68 MB, free: 5.934 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.221/1.221, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.403/2.403, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 67.89 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6035/0.6052, allocations: 159.1 MB / 1.22 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.00146/0.6067, allocations: 0.6121 MB / 1.221 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001088/0.6068, allocations: 4 kB / 1.221 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.6069, allocations: 4 kB / 1.221 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.16e-05/0.607, allocations: 3.938 kB / 1.221 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.309e-05/0.607, allocations: 0 / 1.221 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.598e-05/0.607, allocations: 0 / 1.221 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.515e-05/0.6071, allocations: 27.92 kB / 1.221 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.6072, allocations: 35.97 kB / 1.221 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.292e-05/0.6073, allocations: 15.92 kB / 1.221 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.738e-05/0.6073, allocations: 15.94 kB / 1.221 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.6073, allocations: 3.938 kB / 1.221 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.6073, allocations: 4 kB / 1.221 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/0.6074, allocations: 11.98 kB / 1.221 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.6074, allocations: 19.88 kB / 1.221 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.901e-05/0.6075, allocations: 51.59 kB / 1.221 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6075, allocations: 4 kB / 1.221 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6075, allocations: 0 / 1.221 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.6075, allocations: 0 / 1.221 GB, free: 1.25 MB / 0.9356 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.0003174/0.6079, allocations: 347.2 kB / 1.221 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.6079, allocations: 12.03 kB / 1.221 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.6079, allocations: 34.73 kB / 1.221 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.608, allocations: 8.891 kB / 1.221 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.6081, allocations: 180.3 kB / 1.221 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-06/0.6082, allocations: 8.25 kB / 1.221 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.6082, allocations: 8.375 kB / 1.222 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.6083, allocations: 78.17 kB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.6083, allocations: 7.922 kB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.6083, allocations: 0 / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.6083, allocations: 4 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.755e-05/0.6084, allocations: 47.97 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.6089, allocations: 487.1 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.854e-05/0.6089, allocations: 173.1 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.609, allocations: 80.14 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.609, allocations: 87.2 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.6091, allocations: 105.8 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.6091, allocations: 0 / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 5.967e-05/0.6091, allocations: 29.7 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.6092, allocations: 130.6 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.6094, allocations: 172 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.6094, allocations: 25.7 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.6094, allocations: 100.1 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.6094, allocations: 0 / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.6095, allocations: 13.72 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6096, allocations: 318.9 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.6096, allocations: 7.984 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/0.6096, allocations: 15.94 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.6097, allocations: 12.84 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6097, allocations: 4.062 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.49e-05/0.6098, allocations: 49.8 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.6098, allocations: 7.938 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6098, allocations: 3.984 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.6098, allocations: 0 / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.6099, allocations: 7.938 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.6099, allocations: 0 / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.6099, allocations: 7.953 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.6099, allocations: 7.984 kB / 1.223 GB, free: 14.48 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.0001006/0.61, allocations: 197.7 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.6101, allocations: 112.9 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.033e-05/0.6101, allocations: 112.9 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.754e-05/0.6102, allocations: 188.1 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-05/0.6103, allocations: 180.3 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-05/0.6103, allocations: 180.3 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.6106, allocations: 425.1 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.705e-05/0.6106, allocations: 101 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.6107, allocations: 104.9 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-05/0.6107, allocations: 184.2 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.421e-05/0.6108, allocations: 180.3 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.476e-05/0.6109, allocations: 192.1 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.392e-05/0.611, allocations: 177.2 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.6111, allocations: 303.8 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.6112, allocations: 194 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.52e-05/0.6113, allocations: 188.3 kB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/0.6114, allocations: 108.9 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.6114, allocations: 180.2 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.6115, allocations: 105.3 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.498e-05/0.6116, allocations: 133.4 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6116, allocations: 0 / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001942/0.6118, allocations: 4 kB / 1.227 GB, free: 10.79 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.0003727/0.6122, allocations: 0.8126 MB / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 5.934e-05/0.6122, allocations: 12.02 kB / 1.228 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.6122, allocations: 0 / 1.228 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.6122, allocations: 0 / 1.228 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.6126, allocations: 471.6 kB / 1.228 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.6137, allocations: 1.497 MB / 1.23 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.6139, allocations: 0.6846 MB / 1.23 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.992e-05/0.614, allocations: 8 kB / 1.23 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.614, allocations: 15.42 kB / 1.23 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.614, allocations: 4.031 kB / 1.23 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.627/3.241, allocations: 1.58 MB / 1.232 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/16.47, allocations: 2.375 kB / 1.232 GB, free: 5.723 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches