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.001951/0.001951, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002242/0.002242, allocations: 213.8 kB / 22.25 MB, free: 5.105 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.836 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.191/3.191, allocations: 0.49 GB / 0.7951 GB, free: 35.49 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.002245/0.002245, allocations: 68.03 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3282, allocations: 176.1 MB / 1.326 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001763/0.3299, allocations: 0.617 MB / 1.326 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001353/0.3301, allocations: 11.97 kB / 1.326 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.425e-05/0.3301, allocations: 0 / 1.326 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.362e-05/0.3302, allocations: 7.938 kB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.826e-05/0.3302, allocations: 0 / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.97e-05/0.3303, allocations: 4 kB / 1.326 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.778e-05/0.3304, allocations: 27.92 kB / 1.326 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3305, allocations: 20.2 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.3305, allocations: 11.94 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.443e-05/0.3305, allocations: 19.91 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3306, allocations: 8 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.3306, allocations: 4 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.3306, allocations: 11.94 kB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.3306, allocations: 15.92 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.288e-05/0.3307, allocations: 39.83 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3307, allocations: 0 / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3307, allocations: 4 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3307, allocations: 3.984 kB / 1.327 GB, free: 0.7539 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.0003341/0.3311, allocations: 270.6 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3311, allocations: 12.03 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.3312, allocations: 34.75 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.175e-05/0.3312, allocations: 4.938 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.3314, allocations: 134.4 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.3314, allocations: 4.375 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.3314, allocations: 8.375 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3316, allocations: 78.16 kB / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3316, allocations: 3.938 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.3316, allocations: 0 / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3316, allocations: 4 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.585e-05/0.3317, allocations: 47.97 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.3322, allocations: 450.3 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.711e-05/0.3323, allocations: 177.1 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.3323, allocations: 84.08 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.3323, allocations: 75.28 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/0.3324, allocations: 109.8 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3324, allocations: 4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 6.798e-05/0.3325, allocations: 29.66 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.3325, allocations: 138.6 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.3327, allocations: 169.2 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.3327, allocations: 25.7 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.3328, allocations: 96.12 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.3328, allocations: 4 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.3328, allocations: 13.72 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.333, allocations: 314.8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.333, allocations: 11.92 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.333, allocations: 12.11 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.324e-05/0.333, allocations: 16.78 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.333, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001234/0.3332, allocations: 53.64 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3332, allocations: 4 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3332, allocations: 4.094 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3332, allocations: 3.984 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.405e-05/0.3332, allocations: 7.938 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3332, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/0.3333, allocations: 11.89 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3333, allocations: 3.938 kB / 1.329 GB, free: 14.18 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.0001252/0.3334, allocations: 197.1 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.3335, allocations: 105 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.863e-05/0.3336, allocations: 112.8 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.059e-05/0.3336, allocations: 188.1 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.099e-05/0.3337, allocations: 180.3 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-05/0.3338, allocations: 184.2 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.3341, allocations: 384.3 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.875e-05/0.3341, allocations: 105 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.3342, allocations: 108.9 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.728e-05/0.3342, allocations: 176.3 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.708e-05/0.3343, allocations: 180.2 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.073e-05/0.3344, allocations: 188.2 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.95e-05/0.3345, allocations: 176.3 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.3347, allocations: 319.7 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.3347, allocations: 120.9 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-05/0.3348, allocations: 180.5 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.3349, allocations: 108.9 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.544e-05/0.335, allocations: 184.2 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.3351, allocations: 101 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001199/0.3352, allocations: 135.1 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3352, allocations: 0 / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002245/0.3354, allocations: 8 kB / 1.332 GB, free: 10.61 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.0005/0.3359, allocations: 0.8165 MB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.201e-05/0.336, allocations: 8 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.336, allocations: 0 / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.336, allocations: 0 / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.3365, allocations: 479.1 kB / 1.333 GB, free: 9.285 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3378, allocations: 1.482 MB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.255e-05/0.3378, allocations: 75.19 kB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.235e-05/0.3379, allocations: 4 kB / 1.335 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.3379, allocations: 19.42 kB / 1.335 GB, free: 7.605 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3379, allocations: 0 / 1.335 GB, free: 7.605 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.3665, allocations: 2.12 MB / 1.337 GB, free: 5.629 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.32, allocations: 3.938 kB / 1.337 GB, free: 5.625 MB / 1.029 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_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.csv","/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: 18.07147144601913]