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.006844/0.006844, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.00149/0.001489, allocations: 200.1 kB / 16.68 MB, free: 5.969 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.665/2.665, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2837, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001953/0.2857, allocations: 0.6139 MB / 1.208 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001268/0.2859, allocations: 11.94 kB / 1.208 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.2859, allocations: 0 / 1.208 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.106e-05/0.286, allocations: 0 / 1.208 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.847e-05/0.2861, allocations: 7.922 kB / 1.208 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.721e-05/0.2861, allocations: 8 kB / 1.208 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.872e-05/0.2862, allocations: 19.92 kB / 1.208 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.2863, allocations: 35.98 kB / 1.208 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.479e-05/0.2864, allocations: 19.92 kB / 1.208 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.941e-05/0.2864, allocations: 15.92 kB / 1.208 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.2864, allocations: 4 kB / 1.208 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.729e-06/0.2864, allocations: 0 / 1.208 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.2865, allocations: 8 kB / 1.208 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.2865, allocations: 15.88 kB / 1.208 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.225e-05/0.2866, allocations: 59.73 kB / 1.208 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2866, allocations: 0 / 1.208 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2866, allocations: 0 / 1.208 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2866, allocations: 0 / 1.208 GB, free: 9.324 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.0003198/0.287, allocations: 351.7 kB / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.287, allocations: 8.625 kB / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.2871, allocations: 38.75 kB / 1.208 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.2871, allocations: 4.844 kB / 1.208 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.2873, allocations: 180.2 kB / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.2873, allocations: 8.375 kB / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.2873, allocations: 4.375 kB / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.2875, allocations: 82.09 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2875, allocations: 3.938 kB / 1.209 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2875, allocations: 8 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2876, allocations: 0 / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.513e-05/0.2876, allocations: 47.97 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.2882, allocations: 483.1 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.717e-05/0.2882, allocations: 165.1 kB / 1.209 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.2883, allocations: 84.14 kB / 1.209 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.2883, allocations: 75.28 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.2884, allocations: 109.8 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.2884, allocations: 3.938 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.162e-05/0.2885, allocations: 29.7 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.2885, allocations: 138.6 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.2887, allocations: 173.7 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2887, allocations: 29.7 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.2888, allocations: 92.08 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-06/0.2888, allocations: 0 / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.2888, allocations: 17.72 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.289, allocations: 314.8 kB / 1.21 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.289, allocations: 8 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.431e-05/0.289, allocations: 8.094 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.471e-05/0.289, allocations: 28.8 kB / 1.21 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2891, allocations: 0 / 1.21 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001156/0.2892, allocations: 53.58 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2892, allocations: 9.406 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2892, allocations: 0 / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2892, allocations: 0 / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.2893, allocations: 3.938 kB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2893, allocations: 4 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.2893, allocations: 4 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.2893, allocations: 0 / 1.211 GB, free: 6.566 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 9.111e-05/0.2894, allocations: 193.1 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.2895, allocations: 116.8 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.2896, allocations: 112.8 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.841e-05/0.2896, allocations: 184.2 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.416e-05/0.2897, allocations: 184.2 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.171e-05/0.2897, allocations: 184.3 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.29, allocations: 421.1 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/0.29, allocations: 101 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.29, allocations: 105.5 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.789e-05/0.2901, allocations: 188.2 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.2902, allocations: 176.3 kB / 1.212 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-05/0.2902, allocations: 188.1 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.286e-05/0.2903, allocations: 180.5 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.2904, allocations: 311.8 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.2905, allocations: 190 kB / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.126e-05/0.2906, allocations: 184.2 kB / 1.213 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.2906, allocations: 104.9 kB / 1.214 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.2907, allocations: 192.2 kB / 1.214 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.2907, allocations: 101 kB / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.151e-05/0.2908, allocations: 128.8 kB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2908, allocations: 0 / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002201/0.2911, allocations: 4 kB / 1.214 GB, free: 2.871 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.0003609/0.2914, allocations: 0.8203 MB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.9e-05/0.2915, allocations: 15.98 kB / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2915, allocations: 0 / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.105e-06/0.2915, allocations: 64 / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.2919, allocations: 469.6 kB / 1.215 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.2931, allocations: 1.498 MB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.2933, allocations: 0.6846 MB / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.922e-05/0.2934, allocations: 11.98 kB / 1.217 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.2934, allocations: 15.47 kB / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.2934, allocations: 0 / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.3107, allocations: 1.588 MB / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/8.09, allocations: 6.188 kB / 1.219 GB, free: 13.79 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