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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 108.4 kB / 16.41 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 189.6 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.593/2.593, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.89 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8192/0.8205, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002019/0.8226, allocations: 0.6102 MB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000146/0.8227, allocations: 12 kB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.8228, allocations: 0 / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.184e-05/0.8229, allocations: 3.938 kB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.671e-05/0.823, allocations: 3.984 kB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.583e-05/0.8231, allocations: 4 kB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.146e-05/0.8232, allocations: 27.86 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.8233, allocations: 35.97 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.548e-05/0.8234, allocations: 12 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.105e-05/0.8234, allocations: 19.86 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.8234, allocations: 4 kB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.8234, allocations: 4 kB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.8235, allocations: 8 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.8235, allocations: 19.88 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.8236, allocations: 43.8 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8236, allocations: 0 / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8237, allocations: 0 / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.8237, allocations: 0 / 1.209 GB, free: 12.78 MB / 0.9356 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.000374/0.824, allocations: 355.1 kB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.8241, allocations: 8.031 kB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.8241, allocations: 8.844 kB / 1.21 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.8244, allocations: 182.3 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.8244, allocations: 384 / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.8244, allocations: 8.375 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.8246, allocations: 82.16 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.8246, allocations: 192 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.8246, allocations: 3.938 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.8246, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.495e-05/0.8247, allocations: 51.97 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.8252, allocations: 491 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.792e-05/0.8253, allocations: 169.1 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.8253, allocations: 84.12 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.8253, allocations: 79.28 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.8254, allocations: 105.8 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.8254, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.478e-05/0.8255, allocations: 29.7 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.8255, allocations: 126.7 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.8257, allocations: 175.6 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.8257, allocations: 29.64 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.8258, allocations: 104 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.8258, allocations: 4 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.8258, allocations: 9.719 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.8259, allocations: 318.9 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.826, allocations: 11.98 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.552e-05/0.826, allocations: 11.98 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.826, allocations: 8.859 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.826, allocations: 4.062 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001169/0.8262, allocations: 49.69 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.8262, allocations: 7.984 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.8262, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.8262, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.8263, allocations: 7.938 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.8263, allocations: 4.047 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.8263, allocations: 11.84 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.8263, allocations: 8 kB / 1.212 GB, free: 10.05 MB / 0.9356 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.0001048/0.8264, allocations: 197.1 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.8265, allocations: 108.9 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.8266, allocations: 112.9 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.906e-05/0.8266, allocations: 184.2 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-05/0.8267, allocations: 180.2 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.245e-05/0.8267, allocations: 180.2 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.827, allocations: 425.2 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.585e-05/0.827, allocations: 104.9 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.8271, allocations: 105 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.465e-05/0.8271, allocations: 176.3 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.167e-05/0.8272, allocations: 188.2 kB / 1.213 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-05/0.8273, allocations: 184.3 kB / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.183e-05/0.8273, allocations: 184.1 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.8275, allocations: 303.8 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/0.8275, allocations: 189.9 kB / 1.214 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.849e-05/0.8276, allocations: 184.3 kB / 1.214 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.8277, allocations: 112.9 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.8278, allocations: 180.2 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.8278, allocations: 105.3 kB / 1.215 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.823e-05/0.8279, allocations: 133.1 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8279, allocations: 0 / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002317/0.8282, allocations: 4 kB / 1.215 GB, free: 6.363 MB / 0.9356 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.0001353/0.8283, allocations: 182.4 kB / 1.215 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.205e-05/0.8284, allocations: 15.98 kB / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8284, allocations: 0 / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.943e-06/0.8284, allocations: 0 / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.8288, allocations: 463.6 kB / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.8291, allocations: 238 kB / 1.216 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.8294, allocations: 0.6846 MB / 1.217 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.8294, allocations: 7.438 kB / 1.217 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.8294, allocations: 3.938 kB / 1.217 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of Templates: time 0.002045/0.8315, allocations: 0.7429 MB / 1.217 GB, free: 3.98 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile (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 & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) 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) Reference file matches