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.0008742/0.0008742, 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.001029/0.001029, 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.9044/0.9044, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.696/1.696, allocations: 359 MB / 0.6037 GB, free: 11.08 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.944e-06/1.944e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.625e-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.001451/0.001467, allocations: 0.6091 MB / 0.9511 GB, free: 2.883 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001424/0.00161, allocations: 15.92 kB / 0.9511 GB, free: 2.867 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.001661, allocations: 0 / 0.9511 GB, free: 2.867 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.941e-05/0.00175, allocations: 4 kB / 0.9511 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.293e-05/0.001783, allocations: 0 / 0.9511 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 7.226e-05/0.001855, allocations: 7.984 kB / 0.9511 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.718e-05/0.001943, allocations: 23.92 kB / 0.9511 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.002065, allocations: 19.98 kB / 0.9511 GB, free: 2.812 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.833e-05/0.002103, allocations: 19.92 kB / 0.9512 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.097e-05/0.002134, allocations: 11.98 kB / 0.9512 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.002159, allocations: 4 kB / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.002168, allocations: 0 / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.0022, allocations: 23.86 kB / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.002225, allocations: 4 kB / 0.9512 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.774e-05/0.002323, allocations: 51.8 kB / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.002325, allocations: 0 / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.61e-07/0.002325, allocations: 0 / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002329, allocations: 0 / 0.9513 GB, free: 2.699 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.0002872/0.002616, allocations: 274.2 kB / 0.9515 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.002655, allocations: 8.031 kB / 0.9515 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.002696, allocations: 42.73 kB / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.138e-05/0.002717, allocations: 8.828 kB / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.002878, allocations: 125.8 kB / 0.9517 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.002887, allocations: 384 / 0.9517 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.002899, allocations: 8.375 kB / 0.9517 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.003039, allocations: 78.11 kB / 0.9518 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.003049, allocations: 8.172 kB / 0.9518 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.003058, allocations: 384 / 0.9518 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.003064, allocations: 4.125 kB / 0.9518 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.087e-05/0.003135, allocations: 47.97 kB / 0.9518 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.003559, allocations: 462.2 kB / 0.9523 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.929e-05/0.003629, allocations: 165.1 kB / 0.9524 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.003655, allocations: 80.14 kB / 0.9525 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.003678, allocations: 83.28 kB / 0.9526 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.003717, allocations: 113.8 kB / 0.9527 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.003718, allocations: 0 / 0.9527 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 6.489e-05/0.003783, allocations: 29.7 kB / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.003831, allocations: 126.7 kB / 0.9528 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.003976, allocations: 172.5 kB / 0.953 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.003985, allocations: 25.7 kB / 0.953 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.004031, allocations: 100.1 kB / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.004034, allocations: 0 / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.004067, allocations: 13.72 kB / 0.9531 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.00416, allocations: 330.8 kB / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.004177, allocations: 8 kB / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.276e-05/0.00419, allocations: 7.984 kB / 0.9535 GB, free: 240 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.004223, allocations: 16.8 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.004225, allocations: 112 / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001155/0.00434, allocations: 57.61 kB / 0.9535 GB, free: 156 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.004353, allocations: 4 kB / 0.9535 GB, free: 152 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.004358, allocations: 0 / 0.9535 GB, free: 152 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.004373, allocations: 0 / 0.9535 GB, free: 152 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.245e-05/0.004426, allocations: 4.094 kB / 0.9536 GB, free: 148 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.00443, allocations: 4 kB / 0.9536 GB, free: 144 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.004455, allocations: 11.89 kB / 0.9536 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.004465, allocations: 4 kB / 0.9536 GB, free: 128 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 0.0001137/0.004579, allocations: 193.3 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.004624, allocations: 112.9 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.004663, allocations: 112.8 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.583e-05/0.004698, allocations: 180.8 kB / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.131e-05/0.00474, allocations: 184.3 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.435e-05/0.004774, allocations: 176.3 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.004928, allocations: 400.2 kB / 0.9549 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/0.004951, allocations: 108.9 kB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.004972, allocations: 105.1 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.693e-05/0.005009, allocations: 180.3 kB / 0.9552 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.005048, allocations: 184.3 kB / 0.9554 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.398e-05/0.005102, allocations: 184.2 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.835e-05/0.00514, allocations: 176.3 kB / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.599e-05/0.005226, allocations: 307.7 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.005271, allocations: 116.9 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.00533, allocations: 184.2 kB / 0.9563 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.005403, allocations: 101 kB / 0.9564 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.00545, allocations: 188.2 kB / 0.9566 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.005473, allocations: 101 kB / 0.9567 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.244e-05/0.005556, allocations: 135.2 kB / 0.9568 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005556, allocations: 0 / 0.9568 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001423/0.005698, allocations: 4 kB / 0.9568 GB, free: 12.56 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.0002728/0.005971, allocations: 0.8203 MB / 0.9576 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.886e-05/0.00603, allocations: 7.984 kB / 0.9577 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.006031, allocations: 4 kB / 0.9577 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.006032, allocations: 0 / 0.9577 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.006301, allocations: 464.3 kB / 0.9581 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007765/0.007078, allocations: 1.494 MB / 0.9596 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.42e-05/0.007122, allocations: 67.34 kB / 0.9596 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.987e-05/0.007142, allocations: 7.984 kB / 0.9596 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.007175, allocations: 16.5 kB / 0.9597 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of SimCode: time 7.82e-07/0.007176, allocations: 0 / 0.9597 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.0215, allocations: 2.239 MB / 0.9618 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.197/7.218, allocations: 10.8 kB / 0.9618 GB, free: 7.457 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 11.291276619769633]