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.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.001916/0.001916, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.002492/0.002492, allocations: 220.3 kB / 23.05 MB, free: 5.074 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.749/2.749, allocations: 476.7 MB / 0.7715 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="cs",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.002039/0.002039, allocations: 61.98 kB / 1.118 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3316, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002132/0.3337, allocations: 0.616 MB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001374/0.3338, allocations: 11.98 kB / 1.285 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.3339, allocations: 0 / 1.285 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.602e-05/0.334, allocations: 3.938 kB / 1.285 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.981e-05/0.334, allocations: 0 / 1.285 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.708e-05/0.3341, allocations: 4 kB / 1.285 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.421e-05/0.3342, allocations: 23.97 kB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3343, allocations: 27.72 kB / 1.285 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.3343, allocations: 15.94 kB / 1.285 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.467e-05/0.3344, allocations: 11.94 kB / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.3344, allocations: 0 / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.3344, allocations: 8 kB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.692e-05/0.3344, allocations: 15.92 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.3345, allocations: 19.86 kB / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3346, allocations: 43.81 kB / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3346, allocations: 4 kB / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3346, allocations: 0 / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3346, allocations: 0 / 1.285 GB, free: 10.97 MB / 0.9825 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.0004366/0.335, allocations: 274.3 kB / 1.285 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3351, allocations: 16.02 kB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.979e-05/0.3351, allocations: 4.188 kB / 1.285 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.3351, allocations: 38.75 kB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.3352, allocations: 0.9375 kB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.3354, allocations: 126.4 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.3354, allocations: 4.375 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.3354, allocations: 4.375 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3356, allocations: 73.98 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3356, allocations: 0 / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3356, allocations: 8 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3356, allocations: 0 / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.565e-05/0.3357, allocations: 55.95 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.3363, allocations: 458.2 kB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.3364, allocations: 169.1 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.3365, allocations: 84.2 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.3365, allocations: 87.28 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.616e-05/0.3366, allocations: 109.8 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3366, allocations: 0 / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001011/0.3367, allocations: 33.66 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.871e-05/0.3368, allocations: 130.6 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.337, allocations: 169.8 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.337, allocations: 29.7 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.3371, allocations: 92.14 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.3371, allocations: 0 / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.3371, allocations: 13.72 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3373, allocations: 322.8 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.3373, allocations: 7.938 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/0.3373, allocations: 7.984 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.158e-05/0.3374, allocations: 12.86 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.3374, allocations: 8.047 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001486/0.3375, allocations: 53.64 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3375, allocations: 6.5 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3375, allocations: 0 / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3376, allocations: 3.938 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.3376, allocations: 4 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3376, allocations: 0 / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.3377, allocations: 15.83 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3377, allocations: 7.938 kB / 1.287 GB, free: 8.391 MB / 0.9825 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.0001456/0.3378, allocations: 197.1 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.3379, allocations: 105 kB / 1.288 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.826e-05/0.338, allocations: 116.8 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.341e-05/0.3381, allocations: 188.1 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.181e-05/0.3381, allocations: 176.3 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-05/0.3382, allocations: 182 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.3385, allocations: 400.3 kB / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-05/0.3386, allocations: 101 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.3386, allocations: 104.9 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001/0.3387, allocations: 176.3 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.671e-05/0.3388, allocations: 184.3 kB / 1.289 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-05/0.3389, allocations: 188.1 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.16e-05/0.339, allocations: 180.2 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.3392, allocations: 311.7 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.103e-05/0.3393, allocations: 120.9 kB / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.824e-05/0.3394, allocations: 184.3 kB / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3395, allocations: 104.9 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/0.3396, allocations: 184.5 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.3396, allocations: 101 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001272/0.3397, allocations: 131.2 kB / 1.291 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3397, allocations: 0 / 1.291 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002484/0.34, allocations: 4 kB / 1.291 GB, free: 4.828 MB / 0.9825 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.0005133/0.3405, allocations: 0.8166 MB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.7e-05/0.3406, allocations: 4 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3406, allocations: 0 / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.241e-06/0.3406, allocations: 3.984 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.3411, allocations: 475.6 kB / 1.292 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.3426, allocations: 1.494 MB / 1.293 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.3429, allocations: 0.6846 MB / 1.294 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.343, allocations: 7.984 kB / 1.294 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.343, allocations: 15.44 kB / 1.294 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of SimCode: time 1.062e-06/0.343, allocations: 4.031 kB / 1.294 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.374, allocations: 1.698 MB / 1.296 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.8, allocations: 12 kB / 1.296 GB, free: 15.64 MB / 0.9981 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.495848054997623]