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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01279/0.01279, allocations: 103.4 kB / 15.73 MB, free: 6.039 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.001844/0.001844, allocations: 189.8 kB / 16.67 MB, free: 5.965 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.89 kB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2754, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001876/0.2773, allocations: 0.5983 MB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001685/0.2775, allocations: 11.94 kB / 1.208 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.2776, allocations: 4 kB / 1.208 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.647e-05/0.2777, allocations: 0 / 1.208 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.687e-05/0.2777, allocations: 3.984 kB / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.245e-05/0.2778, allocations: 4 kB / 1.208 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.103e-05/0.2779, allocations: 27.86 kB / 1.208 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.2781, allocations: 31.97 kB / 1.208 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.2781, allocations: 15.94 kB / 1.208 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.242e-05/0.2782, allocations: 15.92 kB / 1.208 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.2782, allocations: 4 kB / 1.208 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.2782, allocations: 0 / 1.208 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.2782, allocations: 8 kB / 1.208 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.2783, allocations: 19.88 kB / 1.208 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.2784, allocations: 55.8 kB / 1.208 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2784, allocations: 0 / 1.208 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2784, allocations: 0 / 1.208 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.2784, allocations: 0 / 1.208 GB, free: 9.379 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.0003623/0.2788, allocations: 355.6 kB / 1.208 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2789, allocations: 8.625 kB / 1.208 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.2789, allocations: 34.75 kB / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.2789, allocations: 8.844 kB / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.2792, allocations: 184.2 kB / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.2792, allocations: 8.375 kB / 1.209 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.2792, allocations: 8.312 kB / 1.209 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.2794, allocations: 82.22 kB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2794, allocations: 3.938 kB / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.2794, allocations: 0 / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2794, allocations: 0 / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.2795, allocations: 55.91 kB / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.28, allocations: 483.1 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.314e-05/0.2801, allocations: 169.1 kB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.2801, allocations: 80.14 kB / 1.209 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.2801, allocations: 75.28 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.2802, allocations: 113.8 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2802, allocations: 4 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.142e-05/0.2802, allocations: 29.64 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.2803, allocations: 130.6 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.2805, allocations: 179.2 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.2805, allocations: 25.7 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.2805, allocations: 96.08 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.2805, allocations: 0 / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.2806, allocations: 13.72 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.2807, allocations: 322.8 kB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.2807, allocations: 4.109 kB / 1.21 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.482e-05/0.2807, allocations: 15.92 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.218e-05/0.2807, allocations: 12.86 kB / 1.21 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2807, allocations: 0 / 1.21 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001101/0.2809, allocations: 57.52 kB / 1.21 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2809, allocations: 5.719 kB / 1.21 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.2809, allocations: 7.984 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2809, allocations: 4.094 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.281, allocations: 3.938 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.281, allocations: 0 / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.281, allocations: 4 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.281, allocations: 4 kB / 1.211 GB, free: 6.605 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 8.696e-05/0.2811, allocations: 196.2 kB / 1.211 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.2812, allocations: 108.9 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.2812, allocations: 124.8 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.793e-05/0.2813, allocations: 180.2 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.951e-05/0.2813, allocations: 184.1 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.423e-05/0.2814, allocations: 180.3 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.2816, allocations: 421.2 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/0.2816, allocations: 104.9 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.2817, allocations: 109.5 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.124e-05/0.2817, allocations: 184.2 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.397e-05/0.2818, allocations: 176.3 kB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.784e-05/0.2818, allocations: 180.2 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-05/0.2819, allocations: 188.4 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.282, allocations: 311.8 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.2821, allocations: 194 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.2822, allocations: 180.3 kB / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.2823, allocations: 108.9 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.2823, allocations: 180.3 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.2824, allocations: 108.9 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001023/0.2825, allocations: 131.2 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2825, allocations: 0 / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002194/0.2827, allocations: 4 kB / 1.214 GB, free: 2.906 MB / 0.9669 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.0003562/0.2831, allocations: 0.8126 MB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.258e-05/0.2832, allocations: 11.92 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2832, allocations: 0 / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.2832, allocations: 7.938 kB / 1.215 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.2836, allocations: 460.7 kB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.2847, allocations: 1.504 MB / 1.217 GB, free: 12 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.2849, allocations: 0.6807 MB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.662e-05/0.285, allocations: 7.984 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.285, allocations: 15.44 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.285, allocations: 0 / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.3019, allocations: 1.595 MB / 1.219 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/7.866, allocations: 4.266 kB / 1.219 GB, free: 13.83 MB / 0.9825 GB (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 --timeout=50 --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) 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