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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 107.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001943/0.001943, allocations: 68.08 kB / 1.104 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7038/0.7057, allocations: 168.7 MB / 1.269 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001897/0.7076, allocations: 0.6159 MB / 1.269 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001566/0.7078, allocations: 11.98 kB / 1.269 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.7078, allocations: 3.938 kB / 1.269 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.656e-05/0.7079, allocations: 0 / 1.269 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.745e-05/0.7079, allocations: 0 / 1.269 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.418e-05/0.708, allocations: 11.98 kB / 1.269 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.15e-05/0.7081, allocations: 23.86 kB / 1.269 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.7082, allocations: 35.78 kB / 1.269 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.023e-05/0.7083, allocations: 11.94 kB / 1.269 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.112e-05/0.7083, allocations: 15.92 kB / 1.269 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.7083, allocations: 4 kB / 1.269 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.7083, allocations: 4 kB / 1.269 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.7084, allocations: 11.98 kB / 1.269 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.7084, allocations: 15.88 kB / 1.269 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.7085, allocations: 43.81 kB / 1.27 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7085, allocations: 0 / 1.27 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7085, allocations: 0 / 1.27 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7085, allocations: 0 / 1.27 GB, free: 4.543 MB / 0.9669 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.0003849/0.7089, allocations: 357.3 kB / 1.27 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.7089, allocations: 8.031 kB / 1.27 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/0.709, allocations: 42.69 kB / 1.27 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.709, allocations: 12.83 kB / 1.27 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.7093, allocations: 172.3 kB / 1.27 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.7093, allocations: 4.375 kB / 1.27 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.7093, allocations: 8.375 kB / 1.27 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.7095, allocations: 78.16 kB / 1.27 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.7095, allocations: 7.938 kB / 1.27 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.7095, allocations: 0 / 1.27 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.7095, allocations: 4 kB / 1.27 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.244e-05/0.7096, allocations: 51.91 kB / 1.27 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.7101, allocations: 491.1 kB / 1.271 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.922e-05/0.7102, allocations: 169.1 kB / 1.271 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.7102, allocations: 88.14 kB / 1.271 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.7103, allocations: 75.28 kB / 1.271 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/0.7103, allocations: 105.8 kB / 1.271 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.7103, allocations: 0 / 1.271 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.065e-05/0.7104, allocations: 29.7 kB / 1.271 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.7105, allocations: 138.6 kB / 1.271 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.7107, allocations: 167.7 kB / 1.271 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.7107, allocations: 25.7 kB / 1.271 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.7107, allocations: 100.1 kB / 1.272 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.7107, allocations: 0 / 1.272 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.7108, allocations: 17.72 kB / 1.272 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.7109, allocations: 314.8 kB / 1.272 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.7109, allocations: 12 kB / 1.272 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.7109, allocations: 7.984 kB / 1.272 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.851e-05/0.711, allocations: 21.06 kB / 1.272 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.711, allocations: 3.938 kB / 1.272 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001266/0.7111, allocations: 57.61 kB / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.7111, allocations: 4 kB / 1.272 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7111, allocations: 0 / 1.272 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.7111, allocations: 7.984 kB / 1.272 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.7112, allocations: 7.938 kB / 1.272 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.7112, allocations: 0 / 1.272 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.608e-05/0.7112, allocations: 7.953 kB / 1.272 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.7112, allocations: 4.031 kB / 1.272 GB, free: 1.758 MB / 0.9669 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.0001125/0.7114, allocations: 193.1 kB / 1.272 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.027e-05/0.7114, allocations: 112.9 kB / 1.272 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.418e-05/0.7115, allocations: 112.8 kB / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.587e-05/0.7116, allocations: 184.2 kB / 1.273 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.97e-05/0.7117, allocations: 180.3 kB / 1.273 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.112e-05/0.7117, allocations: 180.2 kB / 1.273 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.712, allocations: 417.2 kB / 1.273 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.441e-05/0.712, allocations: 114.4 kB / 1.273 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.7121, allocations: 105 kB / 1.274 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.162e-05/0.7122, allocations: 176.3 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.702e-05/0.7123, allocations: 188.2 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.211e-05/0.7123, allocations: 180.2 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.461e-05/0.7124, allocations: 184.2 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.7126, allocations: 307.8 kB / 1.275 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.84e-05/0.7127, allocations: 190 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-05/0.7127, allocations: 184.2 kB / 1.275 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.272e-05/0.7128, allocations: 112.9 kB / 1.275 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.7129, allocations: 176.3 kB / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.713, allocations: 109.2 kB / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001065/0.7131, allocations: 129 kB / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7131, allocations: 0 / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002261/0.7133, allocations: 12 kB / 1.275 GB, free: 14.06 MB / 0.9825 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.0004511/0.7137, allocations: 0.8053 MB / 1.276 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.013e-05/0.7138, allocations: 16.03 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7138, allocations: 8 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.7138, allocations: 0 / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.7143, allocations: 467.6 kB / 1.277 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.7155, allocations: 1.487 MB / 1.278 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.7159, allocations: 0.6846 MB / 1.279 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.7159, allocations: 12.02 kB / 1.279 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.7159, allocations: 15.44 kB / 1.279 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.7159, allocations: 0 / 1.279 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.504/2.22, allocations: 1.6 MB / 1.28 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.762/10.98, allocations: 5.688 kB / 1.28 GB, free: 8.988 MB / 0.9825 GB " [Timeout remaining time 289] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.95202818280086]