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.0009716/0.0009715, allocations: 108 kB / 15.6 MB, free: 124 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.00101/0.00101, allocations: 195.6 kB / 16.54 MB, free: 6.668 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.236/1.236, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.459/2.459, allocations: 461.9 MB / 0.7346 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.16 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.236, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001764/0.2378, allocations: 0.6291 MB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000119/0.2379, allocations: 7.938 kB / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.238, allocations: 0 / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.36e-05/0.238, allocations: 3.938 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.413e-05/0.2381, allocations: 4 kB / 1.054 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.534e-05/0.2382, allocations: 7.984 kB / 1.054 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.2382, allocations: 23.92 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2384, allocations: 31.98 kB / 1.054 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.396e-05/0.2384, allocations: 11.94 kB / 1.054 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.823e-05/0.2384, allocations: 15.92 kB / 1.054 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.2384, allocations: 4 kB / 1.054 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.2385, allocations: 8 kB / 1.054 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.2385, allocations: 11.98 kB / 1.054 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.2385, allocations: 15.88 kB / 1.054 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.726e-05/0.2386, allocations: 43.81 kB / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2386, allocations: 0 / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2386, allocations: 0 / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.2386, allocations: 0 / 1.054 GB, free: 7.5 MB / 0.8106 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.0002836/0.2389, allocations: 351.7 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.239, allocations: 12.61 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.101e-05/0.239, allocations: 38.75 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.239, allocations: 12.84 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.2392, allocations: 172.3 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2392, allocations: 8.375 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.2392, allocations: 4.375 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.2393, allocations: 78.11 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2394, allocations: 7.922 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.2394, allocations: 4 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2394, allocations: 4 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.718e-05/0.2395, allocations: 43.97 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.2399, allocations: 487.1 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.833e-05/0.2399, allocations: 165.1 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.24, allocations: 80.14 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.24, allocations: 83.27 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.2401, allocations: 113.8 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.2401, allocations: 0 / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.743e-05/0.2401, allocations: 37.61 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2402, allocations: 130.6 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.2403, allocations: 168 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.2403, allocations: 29.64 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.2404, allocations: 92.12 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.2404, allocations: 0 / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.2404, allocations: 21.72 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.2405, allocations: 310.8 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.2405, allocations: 11.98 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.404e-05/0.2406, allocations: 8 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.2406, allocations: 20.78 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2406, allocations: 0 / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001014/0.2407, allocations: 49.59 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.2407, allocations: 12.09 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2407, allocations: 4.094 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.2408, allocations: 3.938 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/0.2408, allocations: 11.94 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2408, allocations: 0 / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.73e-05/0.2409, allocations: 11.84 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2409, allocations: 0 / 1.056 GB, free: 4.727 MB / 0.8106 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.483e-05/0.241, allocations: 194.6 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.241, allocations: 112.9 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.2411, allocations: 108.9 kB / 1.057 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.581e-05/0.2411, allocations: 192.1 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.577e-05/0.2412, allocations: 176.3 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.454e-05/0.2412, allocations: 176.3 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.2414, allocations: 425.1 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.653e-05/0.2414, allocations: 101 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.2415, allocations: 108.9 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.023e-05/0.2415, allocations: 184.2 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.2416, allocations: 176.3 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.891e-05/0.2416, allocations: 188.2 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.654e-05/0.2417, allocations: 184.8 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.2418, allocations: 311.7 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.2419, allocations: 186.3 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.2419, allocations: 180.2 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.242, allocations: 116.9 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.2421, allocations: 188.2 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.2421, allocations: 101 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.234e-05/0.2422, allocations: 128.8 kB / 1.06 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2422, allocations: 0 / 1.06 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002045/0.2424, allocations: 4 kB / 1.06 GB, free: 1.039 MB / 0.8106 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.0003145/0.2427, allocations: 0.8087 MB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.992e-05/0.2428, allocations: 19.92 kB / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2428, allocations: 0 / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.2428, allocations: 0 / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.2432, allocations: 469.2 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009895/0.2442, allocations: 1.491 MB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.2444, allocations: 0.6844 MB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.2444, allocations: 11.97 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.2445, allocations: 15.44 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2445, allocations: 4.031 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4907/0.7352, allocations: 1.553 MB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/8.275, allocations: 7 kB / 1.064 GB, free: 11.98 MB / 0.8262 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