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.001352/0.001352, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001724/0.001724, allocations: 217.1 kB / 22.25 MB, free: 4.855 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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 3.435/3.435, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 66.64 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3391, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.00195/0.341, allocations: 0.6086 MB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.3412, allocations: 7.938 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.3412, allocations: 0 / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.748e-05/0.3413, allocations: 4 kB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.502e-05/0.3413, allocations: 0 / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.884e-05/0.3414, allocations: 8 kB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.3415, allocations: 35.91 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3416, allocations: 19.97 kB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.3417, allocations: 11.94 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.349e-05/0.3417, allocations: 15.94 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3417, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.3417, allocations: 4 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.3418, allocations: 15.92 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.3418, allocations: 11.94 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.3419, allocations: 52.02 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3419, allocations: 4 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3419, allocations: 4 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.3419, allocations: 0 / 1.364 GB, free: 13.3 MB / 1.061 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.0003555/0.3423, allocations: 274.6 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3423, allocations: 12.02 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.3423, allocations: 30.75 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.3424, allocations: 8.891 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.3426, allocations: 118.5 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3426, allocations: 8.312 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.3426, allocations: 8.375 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3428, allocations: 78.11 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3428, allocations: 11.92 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.3428, allocations: 0 / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3428, allocations: 4 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.622e-05/0.3429, allocations: 55.89 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.3434, allocations: 450.3 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.636e-05/0.3435, allocations: 177.1 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.3435, allocations: 80.14 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.3436, allocations: 75.28 kB / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/0.3436, allocations: 113.8 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3436, allocations: 0 / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.392e-05/0.3437, allocations: 29.64 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.3438, allocations: 138.6 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.344, allocations: 176.2 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.344, allocations: 25.7 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.344, allocations: 92.14 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.344, allocations: 0 / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.3441, allocations: 13.72 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3442, allocations: 322.9 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.3442, allocations: 7.938 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.544e-05/0.3442, allocations: 11.98 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.3443, allocations: 12.92 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3443, allocations: 0 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001175/0.3444, allocations: 61.56 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3444, allocations: 4 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3444, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3444, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.3445, allocations: 7.938 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3445, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.703e-05/0.3445, allocations: 7.938 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.3445, allocations: 0 / 1.366 GB, free: 10.74 MB / 1.061 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.0001275/0.3446, allocations: 201.1 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.3447, allocations: 108.9 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.829e-05/0.3448, allocations: 116.7 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.288e-05/0.3449, allocations: 184.2 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.572e-05/0.3449, allocations: 180.2 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.542e-05/0.345, allocations: 180.3 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.3453, allocations: 384.3 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.191e-05/0.3453, allocations: 108.9 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.3454, allocations: 106 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.888e-05/0.3455, allocations: 180.2 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.71e-05/0.3455, allocations: 176.3 kB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.409e-05/0.3456, allocations: 200.2 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.238e-05/0.3457, allocations: 180.2 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.3459, allocations: 311.7 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/0.3459, allocations: 109 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.983e-05/0.346, allocations: 180.5 kB / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3461, allocations: 112.9 kB / 1.369 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.3462, allocations: 180.3 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.3462, allocations: 108.9 kB / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001062/0.3464, allocations: 133.3 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3464, allocations: 0 / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002443/0.3466, allocations: 8 kB / 1.37 GB, free: 7.164 MB / 1.061 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.0004428/0.347, allocations: 0.8048 MB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.975e-05/0.3471, allocations: 15.92 kB / 1.371 GB, free: 6.316 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3471, allocations: 3.938 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.3471, allocations: 0 / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.3476, allocations: 467.5 kB / 1.371 GB, free: 5.852 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.3489, allocations: 1.475 MB / 1.372 GB, free: 4.297 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.557e-05/0.3489, allocations: 79.28 kB / 1.373 GB, free: 4.199 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.349, allocations: 4 kB / 1.373 GB, free: 4.195 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.349, allocations: 15.44 kB / 1.373 GB, free: 4.18 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.349, allocations: 0 / 1.373 GB, free: 4.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.3767, allocations: 2.098 MB / 1.375 GB, free: 2.227 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.41, allocations: 6.312 kB / 1.375 GB, free: 2.223 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 18.42569152219221]