Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.0008506/0.0008505, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005741/0.005741, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.661/2.661, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003177, allocations: 15.31 kB / 0.9029 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3598, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001558/0.3614, allocations: 0.4915 MB / 1.059 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.3632, allocations: 0.8663 MB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.3634, allocations: 7.938 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.3634, allocations: 0 / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.3636, allocations: 7.922 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.3639, allocations: 39.97 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.3641, allocations: 79.81 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.3644, allocations: 23.98 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.3645, allocations: 27.86 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.3647, allocations: 43.81 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.3647, allocations: 8 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.301e-05/0.3647, allocations: 4 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.96e-05/0.3648, allocations: 15.86 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.989e-05/0.3649, allocations: 61.48 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.3651, allocations: 75.7 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3651, allocations: 0 / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.088e-06/0.3651, allocations: 0 / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.3651, allocations: 0 / 1.061 GB, free: 3.094 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008413/0.366, allocations: 395.5 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.362e-05/0.366, allocations: 11.97 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.515e-05/0.3661, allocations: 42.73 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.3662, allocations: 8.844 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.3664, allocations: 176.2 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.3665, allocations: 4.375 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.3665, allocations: 8.375 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.3669, allocations: 121.5 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3669, allocations: 0 / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.367, allocations: 0 / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.367, allocations: 0 / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/0.3674, allocations: 123.9 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.3681, allocations: 344.6 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/0.3688, allocations: 134.6 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.369, allocations: 60.81 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.3691, allocations: 8 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3691, allocations: 34.56 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.3691, allocations: 3.938 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.000804/0.3699, allocations: 213.5 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.37, allocations: 51.41 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.3702, allocations: 133.6 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3702, allocations: 25.7 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.3703, allocations: 100.1 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.3703, allocations: 15.72 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.3704, allocations: 13.72 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3705, allocations: 322.8 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.3707, allocations: 59.94 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.3709, allocations: 55.95 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.3713, allocations: 125.2 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3714, allocations: 4 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004642/0.3718, allocations: 153.5 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.3719, allocations: 4 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3719, allocations: 0 / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3719, allocations: 0 / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.3721, allocations: 35.97 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3721, allocations: 3.984 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.3723, allocations: 27.83 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3723, allocations: 0 / 1.063 GB, free: 100 kB / 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: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000154/0.3724, allocations: 113.8 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.3725, allocations: 11.91 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.373, allocations: 173.9 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3731, allocations: 3.984 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.3731, allocations: 4 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3731, allocations: 3.938 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.3733, allocations: 205.5 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3734, allocations: 0 / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.3735, allocations: 35.97 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3735, allocations: 0 / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3735, allocations: 0 / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3736, allocations: 0 / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3736, allocations: 0 / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.3741, allocations: 267.2 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.3742, allocations: 81.11 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.3742, allocations: 4 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.3744, allocations: 19.97 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3745, allocations: 23.91 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-06/0.3745, allocations: 0 / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.331e-05/0.3746, allocations: 99.27 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3746, allocations: 4 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002526/0.3749, allocations: 19.84 kB / 1.064 GB, free: 14.95 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0009707/0.3758, allocations: 0.7866 MB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.3763, allocations: 127.9 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3763, allocations: 0 / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.3766, allocations: 71.89 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.377, allocations: 19.92 kB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.3795, allocations: 1.603 MB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.3798, allocations: 0.6887 MB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.095e-05/0.3799, allocations: 12 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.073e-05/0.38, allocations: 27.42 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.525e-06/0.38, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.3942, allocations: 2.266 MB / 1.07 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/0.3945, allocations: 209.2 kB / 1.07 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.167, allocations: 0 / 1.07 GB, free: 9.086 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches