Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_10_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.001653/0.001653, 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.001989/0.001989, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.474/2.474, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.89 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6522/0.6536, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002434/0.656, allocations: 0.7673 MB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.6571, allocations: 0.8663 MB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.6572, allocations: 4 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.6572, allocations: 11.81 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.785e-05/0.6573, allocations: 15.91 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.6575, allocations: 35.89 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.6576, allocations: 79.84 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.6578, allocations: 39.89 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.6579, allocations: 43.84 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.108e-05/0.6579, allocations: 47.81 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.658, allocations: 8 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.663e-05/0.658, allocations: 8 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.658, allocations: 19.92 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.6581, allocations: 31.8 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.6582, allocations: 91.7 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.6582, allocations: 0 / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6582, allocations: 0 / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.6582, allocations: 0 / 1.019 GB, free: 388 kB / 0.7637 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.0006595/0.6589, allocations: 397.4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.659, allocations: 12.03 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.659, allocations: 34.75 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.659, allocations: 12.83 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.6592, allocations: 176.2 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.6592, allocations: 12.38 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.6592, allocations: 8.375 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.6596, allocations: 105.5 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.6596, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.6596, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6596, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.66, allocations: 103.9 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.6606, allocations: 340.5 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006273/0.6612, allocations: 126.6 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.6614, allocations: 52.8 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.6615, allocations: 7.938 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.6615, allocations: 34.56 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.625e-06/0.6615, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006688/0.6622, allocations: 177.5 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.6622, allocations: 51.41 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.6623, allocations: 125.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.6623, allocations: 25.7 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.6624, allocations: 108 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.6624, allocations: 15.75 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.6625, allocations: 21.7 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6626, allocations: 318.8 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.6628, allocations: 47.94 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.663, allocations: 55.88 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.6633, allocations: 93.25 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.6633, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004002/0.6637, allocations: 145.4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.6638, allocations: 8 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.6638, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6638, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.664, allocations: 23.97 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.664, allocations: 7.938 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.6641, allocations: 11.92 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.6641, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 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 8.625e-05/0.6642, allocations: 125.8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.6642, allocations: 11.89 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/0.6647, allocations: 142 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.6647, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6647, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.6647, allocations: 7.938 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.6649, allocations: 201.6 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.665, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.6651, allocations: 27.91 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6651, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.6651, allocations: 4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.6652, allocations: 3.984 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6652, allocations: 4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.6656, allocations: 239.3 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.6657, allocations: 81.02 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.6657, allocations: 4 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.6659, allocations: 11.92 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.666, allocations: 27.91 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.666, allocations: 4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.386e-05/0.666, allocations: 103.6 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6661, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002324/0.6663, allocations: 15.94 kB / 1.023 GB, free: 12.44 MB / 0.7794 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.0007918/0.6671, allocations: 0.7748 MB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004332/0.6675, allocations: 107.8 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6675, allocations: 0 / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.6678, allocations: 59.95 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.6681, allocations: 19.59 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.6701, allocations: 1.53 MB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.6704, allocations: 0.6924 MB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.56e-05/0.6704, allocations: 12 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/0.6705, allocations: 31.41 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6705, allocations: 0 / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0982/0.7687, allocations: 2.643 MB / 1.029 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/8.574, allocations: 12.2 kB / 1.029 GB, free: 6.504 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches