Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001267/0.001267, allocations: 114.7 kB / 17.17 MB, free: 5.98 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.001535/0.001535, allocations: 212 kB / 20.13 MB, free: 3.035 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.406/1.406, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.808/2.808, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_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.001886/0.001886, allocations: 75.89 kB / 1.165 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8132/0.8151, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001666/0.8167, allocations: 0.62 MB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001343/0.8169, allocations: 14.75 kB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.8169, allocations: 1.156 kB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.385e-05/0.817, allocations: 2.562 kB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.376e-05/0.817, allocations: 0 / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.373e-05/0.8171, allocations: 5.766 kB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.818e-05/0.8172, allocations: 30.81 kB / 1.341 GB, free: 15.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.8173, allocations: 30.45 kB / 1.341 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.207e-05/0.8173, allocations: 11.42 kB / 1.341 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.116e-05/0.8174, allocations: 19.38 kB / 1.341 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.8174, allocations: 2.812 kB / 1.341 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.8174, allocations: 2.594 kB / 1.341 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.8174, allocations: 9.047 kB / 1.341 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.8175, allocations: 21.23 kB / 1.341 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.313e-05/0.8175, allocations: 52.5 kB / 1.341 GB, free: 15.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.8176, allocations: 0 / 1.341 GB, free: 15.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8176, allocations: 0 / 1.341 GB, free: 15.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.83e-06/0.8176, allocations: 1.406 kB / 1.341 GB, free: 15.75 MB / 1.061 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.000269/0.8178, allocations: 353.4 kB / 1.341 GB, free: 15.37 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.8179, allocations: 9.938 kB / 1.341 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.146e-05/0.8179, allocations: 1.219 kB / 1.341 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.165e-05/0.8179, allocations: 33.8 kB / 1.341 GB, free: 15.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.2e-05/0.8179, allocations: 8.172 kB / 1.341 GB, free: 15.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.8181, allocations: 184.7 kB / 1.341 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-06/0.8181, allocations: 5.438 kB / 1.341 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.8181, allocations: 7.719 kB / 1.341 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.8182, allocations: 82.25 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.8182, allocations: 5.375 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.8182, allocations: 0 / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.8182, allocations: 1.469 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.064e-05/0.8183, allocations: 48.88 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.8187, allocations: 487.3 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.915e-05/0.8187, allocations: 166.1 kB / 1.342 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.372e-05/0.8187, allocations: 85.98 kB / 1.342 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.8187, allocations: 75.28 kB / 1.342 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.8187, allocations: 107.5 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.8187, allocations: 0 / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.161e-05/0.8188, allocations: 36.75 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.8188, allocations: 131.5 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.819, allocations: 171.8 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.568e-06/0.819, allocations: 27.02 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.819, allocations: 93.62 kB / 1.343 GB, free: 13.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.819, allocations: 0 / 1.343 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.819, allocations: 16.8 kB / 1.343 GB, free: 13.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.8191, allocations: 319.4 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.8191, allocations: 14.3 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.8191, allocations: 7.859 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.789e-05/0.8191, allocations: 19.94 kB / 1.343 GB, free: 13.37 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8191, allocations: 0 / 1.343 GB, free: 13.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.928e-05/0.8192, allocations: 52.7 kB / 1.343 GB, free: 13.33 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.8192, allocations: 7.312 kB / 1.343 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.8193, allocations: 4 kB / 1.343 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.8193, allocations: 5.25 kB / 1.343 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.877e-05/0.8193, allocations: 3.141 kB / 1.343 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.8193, allocations: 0.7969 kB / 1.343 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.8193, allocations: 7.516 kB / 1.343 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.8194, allocations: 6.531 kB / 1.343 GB, free: 13.31 MB / 1.061 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 5.365e-05/0.8194, allocations: 194.9 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.8194, allocations: 112.9 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.8195, allocations: 113.3 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.8195, allocations: 182 kB / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/0.8195, allocations: 188.7 kB / 1.344 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.8195, allocations: 177.3 kB / 1.344 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.8197, allocations: 426.5 kB / 1.345 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.8197, allocations: 102.1 kB / 1.345 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/0.8197, allocations: 106.9 kB / 1.345 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.411e-05/0.8197, allocations: 182.1 kB / 1.345 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.8198, allocations: 182.2 kB / 1.345 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-05/0.8198, allocations: 188.8 kB / 1.345 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.127e-05/0.8198, allocations: 178.1 kB / 1.346 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.753e-05/0.8199, allocations: 307.8 kB / 1.346 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.8199, allocations: 190.9 kB / 1.346 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.8199, allocations: 191 kB / 1.346 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.7e-05/0.82, allocations: 107.1 kB / 1.346 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.82, allocations: 178.1 kB / 1.347 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.82, allocations: 107.2 kB / 1.347 GB, free: 9.816 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.59e-05/0.8201, allocations: 132.4 kB / 1.347 GB, free: 9.727 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8201, allocations: 0 / 1.347 GB, free: 9.727 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002088/0.8203, allocations: 8.594 kB / 1.347 GB, free: 9.723 MB / 1.061 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.0002029/0.8205, allocations: 0.8062 MB / 1.348 GB, free: 8.914 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.559e-05/0.8206, allocations: 20.11 kB / 1.348 GB, free: 8.902 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8206, allocations: 8 kB / 1.348 GB, free: 8.895 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.8206, allocations: 1.75 kB / 1.348 GB, free: 8.895 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.8209, allocations: 465.5 kB / 1.348 GB, free: 8.441 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008171/0.8217, allocations: 1.481 MB / 1.349 GB, free: 7.086 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.779e-05/0.8218, allocations: 0.6882 MB / 1.35 GB, free: 6.387 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.8218, allocations: 10.67 kB / 1.35 GB, free: 6.383 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.8219, allocations: 18.5 kB / 1.35 GB, free: 6.367 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.8219, allocations: 1.031 kB / 1.35 GB, free: 6.367 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.846, allocations: 1.631 MB / 1.352 GB, free: 6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.631, allocations: 6.688 kB / 1.352 GB, free: 5.996 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.605607637029607]