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.00171/0.001711, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001823/0.001823, allocations: 194.9 kB / 16.25 MB, free: 6.629 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.527/1.527, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.752/2.752, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 70.53 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2431, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001701/0.2448, allocations: 0.6805 MB / 1.053 GB, free: 8 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00011/0.245, allocations: 8 kB / 1.053 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.245, allocations: 4 kB / 1.053 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.952e-05/0.2451, allocations: 3.938 kB / 1.053 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.776e-05/0.2451, allocations: 7.922 kB / 1.053 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.294e-05/0.2452, allocations: 4 kB / 1.053 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.84e-05/0.2453, allocations: 23.98 kB / 1.053 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2454, allocations: 31.98 kB / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.347e-05/0.2454, allocations: 7.938 kB / 1.053 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.672e-05/0.2455, allocations: 15.92 kB / 1.053 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.2455, allocations: 4 kB / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.2455, allocations: 4 kB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.2455, allocations: 8 kB / 1.053 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.2456, allocations: 23.88 kB / 1.053 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.488e-05/0.2457, allocations: 47.8 kB / 1.053 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2457, allocations: 0 / 1.053 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2457, allocations: 0 / 1.053 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2457, allocations: 0 / 1.053 GB, free: 7.809 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.0002919/0.246, allocations: 351.7 kB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.246, allocations: 8.625 kB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.2461, allocations: 38.69 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.2461, allocations: 4.844 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2462, allocations: 180.3 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.2462, allocations: 8.375 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.2463, allocations: 4.375 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.2464, allocations: 82.16 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.2464, allocations: 3.938 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.2464, allocations: 0 / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.2464, allocations: 0 / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.989e-05/0.2465, allocations: 55.91 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.2469, allocations: 479.2 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.236e-05/0.247, allocations: 177.1 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.619e-05/0.247, allocations: 80.14 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.247, allocations: 75.28 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.2471, allocations: 109.8 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2471, allocations: 4 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.303e-05/0.2472, allocations: 29.61 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.2472, allocations: 138.6 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.2474, allocations: 171.3 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.2474, allocations: 25.7 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.2474, allocations: 92.14 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.2474, allocations: 0 / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.2475, allocations: 13.72 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.2476, allocations: 322.8 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.2476, allocations: 4 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.2476, allocations: 15.92 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.2476, allocations: 12.86 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.2476, allocations: 3.984 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/0.2478, allocations: 61.52 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2478, allocations: 8.109 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2478, allocations: 3.938 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.2478, allocations: 4.094 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.907e-05/0.2479, allocations: 3.938 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2479, allocations: 4 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.2479, allocations: 11.84 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.2479, allocations: 0 / 1.056 GB, free: 5.035 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.268e-05/0.248, allocations: 193.1 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.2481, allocations: 105 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.2481, allocations: 124.8 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.451e-05/0.2482, allocations: 180.2 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.791e-05/0.2482, allocations: 180.3 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.491e-05/0.2483, allocations: 180.2 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.2485, allocations: 421.2 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-05/0.2485, allocations: 104.9 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.2485, allocations: 105 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-05/0.2486, allocations: 180.4 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.2486, allocations: 180.2 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-05/0.2487, allocations: 188.2 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.446e-05/0.2487, allocations: 184.2 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.2488, allocations: 315.7 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.2489, allocations: 194 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.249, allocations: 176.3 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.2491, allocations: 108.9 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.2491, allocations: 184.3 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.2491, allocations: 104.9 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.421e-05/0.2492, allocations: 133 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2492, allocations: 0 / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002074/0.2494, allocations: 4 kB / 1.059 GB, free: 1.344 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.0003093/0.2498, allocations: 0.8088 MB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.106e-05/0.2498, allocations: 7.984 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2498, allocations: 4 kB / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.125e-06/0.2498, allocations: 3.938 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.2502, allocations: 459.6 kB / 1.06 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009653/0.2512, allocations: 1.498 MB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.2514, allocations: 0.6961 MB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.215e-05/0.2514, allocations: 4 kB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.2515, allocations: 15.42 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2515, allocations: 0 / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.504/5.756, allocations: 1.485 MB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/5.756, allocations: 228.4 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/8.485, allocations: 5.906 kB / 1.064 GB, free: 12.15 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