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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.504/2.504, allocations: 469.8 MB / 0.7424 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 66.47 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2336, allocations: 159.2 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001616/0.2353, allocations: 0.6112 MB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000112/0.2354, allocations: 11.94 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.2354, allocations: 3.938 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.658e-05/0.2355, allocations: 3.984 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.076e-05/0.2355, allocations: 4 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.444e-05/0.2356, allocations: 0 / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.2357, allocations: 27.92 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2358, allocations: 35.97 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.293e-05/0.2358, allocations: 11.94 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.508e-05/0.2359, allocations: 15.92 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.2359, allocations: 4 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.2359, allocations: 4 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.2359, allocations: 12 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.236, allocations: 15.88 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.814e-05/0.236, allocations: 51.8 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.236, allocations: 0 / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2361, allocations: 0 / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2361, allocations: 0 / 1.065 GB, free: 13.34 MB / 0.8262 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.000315/0.2364, allocations: 351.7 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.2364, allocations: 8.031 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.2365, allocations: 34.75 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.277e-05/0.2365, allocations: 8.844 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.2366, allocations: 184.2 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.2367, allocations: 4.375 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.2367, allocations: 12.36 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.2368, allocations: 78.16 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2368, allocations: 3.938 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.2368, allocations: 0 / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.2369, allocations: 4 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.101e-05/0.2369, allocations: 47.97 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.2374, allocations: 483.1 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.195e-05/0.2375, allocations: 173.1 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.2375, allocations: 80.14 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.2375, allocations: 79.28 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.2376, allocations: 109.8 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.2376, allocations: 0 / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.507e-05/0.2377, allocations: 37.55 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.2377, allocations: 130.6 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2379, allocations: 167.2 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.2379, allocations: 25.7 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.238, allocations: 100 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-06/0.238, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.238, allocations: 21.66 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2381, allocations: 314.8 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.2381, allocations: 11.98 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.481e-05/0.2382, allocations: 11.98 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.649e-05/0.2382, allocations: 8.859 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2382, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.808e-05/0.2383, allocations: 49.67 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.2383, allocations: 8 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.2383, allocations: 4.094 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2383, allocations: 4.109 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.417e-05/0.2384, allocations: 11.88 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2384, allocations: 3.938 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.649e-05/0.2384, allocations: 11.84 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2384, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 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.0001016/0.2385, allocations: 197.1 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.2386, allocations: 102.8 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.2387, allocations: 120.8 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.87e-05/0.2387, allocations: 188.1 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.358e-05/0.2388, allocations: 176.3 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-05/0.2389, allocations: 180.2 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.2391, allocations: 417.2 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.905e-05/0.2392, allocations: 105 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.2392, allocations: 112.9 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.188e-05/0.2393, allocations: 176.3 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.2393, allocations: 184.2 kB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.538e-05/0.2394, allocations: 184.2 kB / 1.069 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.327e-05/0.2395, allocations: 184.2 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.2396, allocations: 311.7 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.2397, allocations: 190.2 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/0.2398, allocations: 176.3 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.2399, allocations: 116.9 kB / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.24, allocations: 184.2 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.24, allocations: 101 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.648e-05/0.2401, allocations: 132.6 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2401, allocations: 0 / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001938/0.2403, allocations: 4 kB / 1.071 GB, free: 6.879 MB / 0.8262 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.0003818/0.2407, allocations: 0.8208 MB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.163e-05/0.2407, allocations: 12 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.2407, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.2408, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.2411, allocations: 463.6 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.2422, allocations: 1.491 MB / 1.073 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.2425, allocations: 0.6883 MB / 1.074 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.798e-05/0.2425, allocations: 4 kB / 1.074 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.2426, allocations: 15.44 kB / 1.074 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2426, allocations: 0 / 1.074 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.131/1.374, allocations: 1.557 MB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/16.41, allocations: 2.625 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches