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.000805/0.000805, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008591/0.0008591, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8732/0.8732, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.61/1.61, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.372e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001143/0.001156, allocations: 0.6142 MB / 0.9511 GB, free: 2.875 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001536/0.00131, allocations: 11.92 kB / 0.9511 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.001374, allocations: 4 kB / 0.9511 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.909e-05/0.001473, allocations: 7.922 kB / 0.9511 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.57e-05/0.001509, allocations: 0 / 0.9511 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 7.753e-05/0.001586, allocations: 4 kB / 0.9511 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.648e-05/0.001673, allocations: 27.92 kB / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.001793, allocations: 23.92 kB / 0.9512 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.766e-05/0.001831, allocations: 23.91 kB / 0.9512 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.283e-05/0.001864, allocations: 11.98 kB / 0.9512 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.001887, allocations: 4 kB / 0.9512 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.001896, allocations: 4 kB / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.001926, allocations: 11.94 kB / 0.9512 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.00195, allocations: 7.984 kB / 0.9512 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.084e-05/0.002041, allocations: 39.88 kB / 0.9512 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002042, allocations: 0 / 0.9512 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002043, allocations: 0 / 0.9512 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.002047, allocations: 4 kB / 0.9513 GB, free: 2.691 MB / 0.9011 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.0002754/0.002323, allocations: 278.2 kB / 0.9515 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.002363, allocations: 12.03 kB / 0.9515 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.897e-05/0.002392, allocations: 34.75 kB / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.002414, allocations: 16.77 kB / 0.9516 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.002561, allocations: 117.8 kB / 0.9517 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.00257, allocations: 4.375 kB / 0.9517 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.002579, allocations: 4.312 kB / 0.9517 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.002706, allocations: 86.16 kB / 0.9518 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.002714, allocations: 192 / 0.9518 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.002722, allocations: 4.375 kB / 0.9518 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.002728, allocations: 4.125 kB / 0.9518 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.799e-05/0.002786, allocations: 59.89 kB / 0.9518 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.003148, allocations: 450.2 kB / 0.9523 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.124e-05/0.003209, allocations: 169.1 kB / 0.9524 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.003231, allocations: 84.14 kB / 0.9525 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.003248, allocations: 75.28 kB / 0.9526 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.003287, allocations: 109.8 kB / 0.9527 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.003287, allocations: 0 / 0.9527 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 5.146e-05/0.003339, allocations: 29.7 kB / 0.9527 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.003384, allocations: 130.6 kB / 0.9528 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.003501, allocations: 184.2 kB / 0.953 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.003509, allocations: 25.7 kB / 0.953 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.003552, allocations: 96.09 kB / 0.9531 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.003555, allocations: 0 / 0.9531 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.003578, allocations: 13.72 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.003652, allocations: 322.8 kB / 0.9535 GB, free: 244 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.003664, allocations: 8.109 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-06/0.003674, allocations: 11.92 kB / 0.9535 GB, free: 224 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.063e-05/0.003705, allocations: 20.84 kB / 0.9535 GB, free: 200 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.003706, allocations: 4.062 kB / 0.9535 GB, free: 196 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.298e-05/0.003789, allocations: 45.69 kB / 0.9535 GB, free: 144 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.0038, allocations: 11.94 kB / 0.9536 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.003804, allocations: 0 / 0.9536 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.003813, allocations: 0 / 0.9536 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.674e-05/0.00386, allocations: 0 / 0.9536 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.003864, allocations: 4 kB / 0.9536 GB, free: 128 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.003882, allocations: 15.83 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.00389, allocations: 0 / 0.9536 GB, free: 112 kB / 0.9011 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 7.663e-05/0.003966, allocations: 197.1 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.004002, allocations: 113 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.004032, allocations: 112.7 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-05/0.004068, allocations: 180.9 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.792e-05/0.004106, allocations: 176.3 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-05/0.004145, allocations: 184.2 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.004286, allocations: 396.2 kB / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/0.004308, allocations: 108.9 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.004329, allocations: 101.1 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001067/0.004435, allocations: 180.3 kB / 0.9552 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.004475, allocations: 192.2 kB / 0.9554 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.598e-05/0.004511, allocations: 176.3 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-05/0.004547, allocations: 188.2 kB / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.966e-05/0.004626, allocations: 303.8 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.00466, allocations: 120.9 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.004701, allocations: 176.3 kB / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.713e-05/0.004748, allocations: 104.9 kB / 0.9565 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.004793, allocations: 184.2 kB / 0.9566 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.004818, allocations: 101 kB / 0.9567 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.619e-05/0.004884, allocations: 135.1 kB / 0.9569 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004884, allocations: 0 / 0.9569 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001389/0.005023, allocations: 4 kB / 0.9569 GB, free: 12.55 MB / 0.9167 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.0002386/0.005261, allocations: 0.8193 MB / 0.9577 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.42e-05/0.005316, allocations: 11.98 kB / 0.9577 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.005317, allocations: 0 / 0.9577 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.005319, allocations: 7.875 kB / 0.9577 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.005586, allocations: 459.7 kB / 0.9581 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007655/0.006352, allocations: 1.488 MB / 0.9596 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.118e-05/0.006393, allocations: 71.33 kB / 0.9596 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.775e-05/0.006411, allocations: 8.094 kB / 0.9596 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.006445, allocations: 20.5 kB / 0.9597 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of SimCode: time 4.11e-07/0.006445, allocations: 0 / 0.9597 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.0202, allocations: 2.234 MB / 0.9618 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/6.794, allocations: 10.92 kB / 0.9619 GB, free: 7.453 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.595409410074353]