Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001929/0.001929, allocations: 109.2 kB / 16.45 MB, free: 6.453 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.002333/0.002333, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.493/1.493, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.217/3.217, allocations: 0.49 GB / 0.7916 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_12_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.002243/0.002243, allocations: 70.22 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3471, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002009/0.3491, allocations: 0.6196 MB / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001596/0.3493, allocations: 15.92 kB / 1.321 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.3493, allocations: 0 / 1.321 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.643e-05/0.3494, allocations: 4 kB / 1.321 GB, free: 2.738 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.303e-05/0.3494, allocations: 7.922 kB / 1.321 GB, free: 2.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.091e-05/0.3495, allocations: 0 / 1.321 GB, free: 2.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.571e-05/0.3496, allocations: 27.92 kB / 1.321 GB, free: 2.703 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.3497, allocations: 32.2 kB / 1.321 GB, free: 2.672 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.01e-05/0.3498, allocations: 7.938 kB / 1.321 GB, free: 2.664 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.327e-05/0.3498, allocations: 15.92 kB / 1.321 GB, free: 2.648 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.3498, allocations: 4 kB / 1.321 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.3498, allocations: 8 kB / 1.322 GB, free: 2.637 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.3499, allocations: 11.94 kB / 1.322 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.3499, allocations: 23.86 kB / 1.322 GB, free: 2.602 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.35, allocations: 35.88 kB / 1.322 GB, free: 2.566 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.35, allocations: 4 kB / 1.322 GB, free: 2.562 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.35, allocations: 3.938 kB / 1.322 GB, free: 2.559 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3501, allocations: 0 / 1.322 GB, free: 2.559 MB / 1.014 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.0004085/0.3505, allocations: 355.2 kB / 1.322 GB, free: 2.16 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3505, allocations: 11.98 kB / 1.322 GB, free: 2.148 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.3506, allocations: 42.75 kB / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.3506, allocations: 0.9375 kB / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.3508, allocations: 184.3 kB / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.3508, allocations: 4.375 kB / 1.322 GB, free: 1.875 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.3508, allocations: 4.375 kB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.351, allocations: 78.22 kB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.351, allocations: 3.938 kB / 1.322 GB, free: 1.785 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.351, allocations: 0 / 1.322 GB, free: 1.785 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.351, allocations: 7.938 kB / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.3511, allocations: 47.97 kB / 1.322 GB, free: 1.73 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.3517, allocations: 491.1 kB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.9e-05/0.3518, allocations: 169.5 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.3518, allocations: 84.14 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.3519, allocations: 75.39 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.3519, allocations: 113.8 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3519, allocations: 0 / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.864e-05/0.352, allocations: 41.59 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.3521, allocations: 130.6 kB / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.3523, allocations: 172.3 kB / 1.324 GB, free: 388 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.3523, allocations: 25.7 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.3524, allocations: 92.14 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.3524, allocations: 4 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.3524, allocations: 13.72 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3526, allocations: 318.8 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.3526, allocations: 4 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.3526, allocations: 19.92 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.3526, allocations: 8.859 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3526, allocations: 0 / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001315/0.3528, allocations: 61.62 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3528, allocations: 8 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3528, allocations: 0 / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3528, allocations: 0 / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.3529, allocations: 7.938 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3529, allocations: 0 / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.3529, allocations: 15.88 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.3529, allocations: 0 / 1.324 GB, free: 15.78 MB / 1.029 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.0001476/0.3531, allocations: 197.1 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.07e-05/0.3532, allocations: 105 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.976e-05/0.3532, allocations: 120.8 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.688e-05/0.3533, allocations: 184.2 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-05/0.3534, allocations: 180.2 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.16e-05/0.3535, allocations: 176.3 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.3538, allocations: 425.2 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.593e-05/0.3538, allocations: 104.9 kB / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.3538, allocations: 105 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.8e-05/0.3539, allocations: 180.2 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.548e-05/0.354, allocations: 176.3 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.721e-05/0.3541, allocations: 180.2 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-05/0.3542, allocations: 196.2 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.3543, allocations: 307.7 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.3544, allocations: 202 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-05/0.3545, allocations: 180.5 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3546, allocations: 112.9 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.672e-05/0.3547, allocations: 180.3 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.3547, allocations: 104.9 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001298/0.3549, allocations: 133.1 kB / 1.327 GB, free: 12.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3549, allocations: 0 / 1.327 GB, free: 12.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002381/0.3551, allocations: 4 kB / 1.327 GB, free: 12.07 MB / 1.029 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.0004827/0.3556, allocations: 0.8126 MB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.175e-05/0.3557, allocations: 15.92 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3557, allocations: 0 / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.3557, allocations: 0 / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.3561, allocations: 471.6 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3575, allocations: 1.483 MB / 1.33 GB, free: 9.191 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3578, allocations: 0.6883 MB / 1.331 GB, free: 8.477 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.73e-05/0.3578, allocations: 7.984 kB / 1.331 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.3579, allocations: 11.44 kB / 1.331 GB, free: 8.457 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3579, allocations: 3.938 kB / 1.331 GB, free: 8.453 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.3832, allocations: 1.599 MB / 1.332 GB, free: 7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.37, allocations: 0 / 1.332 GB, free: 7 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.98200555308722]