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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001068/0.001072, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009715/0.0009716, allocations: 193.8 kB / 16.14 MB, free: 6.719 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.345/2.345, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.621/0.6222, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002248/0.6245, allocations: 0.836 MB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.6256, allocations: 0.874 MB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.6257, allocations: 0 / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.291e-05/0.6257, allocations: 3.938 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.6259, allocations: 11.92 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.626, allocations: 35.95 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.6262, allocations: 79.75 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.6263, allocations: 23.97 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.477e-05/0.6264, allocations: 39.83 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.441e-05/0.6265, allocations: 47.83 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.6265, allocations: 4 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.6266, allocations: 4 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.6266, allocations: 23.91 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.6267, allocations: 31.8 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.6268, allocations: 79.72 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6268, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6268, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.6268, allocations: 0 / 1.019 GB, free: 0.6836 MB / 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.0006609/0.6275, allocations: 397.5 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.6275, allocations: 12.03 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.6276, allocations: 34.75 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.6276, allocations: 8.844 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.6278, allocations: 180.2 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.6278, allocations: 4.375 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.6278, allocations: 12.36 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.6282, allocations: 105.5 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.6282, allocations: 4 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.6282, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.6282, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.6286, allocations: 103.8 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.6291, allocations: 348.5 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.6297, allocations: 118.6 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.6299, allocations: 64.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.63, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.63, allocations: 38.44 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.63, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006342/0.6306, allocations: 185.5 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.6307, allocations: 51.41 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.855e-05/0.6308, allocations: 125.8 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.6308, allocations: 25.7 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.6309, allocations: 100 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.6309, allocations: 15.75 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.631, allocations: 29.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.6311, allocations: 314.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.6312, allocations: 47.95 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.6314, allocations: 47.95 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.6318, allocations: 97.17 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6318, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003882/0.6322, allocations: 149.5 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6322, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.6322, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.6322, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.6324, allocations: 23.97 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6324, allocations: 4 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.6325, allocations: 19.92 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.6325, allocations: 0 / 1.021 GB, free: 13.83 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 9.507e-05/0.6326, allocations: 122.3 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.6327, allocations: 7.906 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/0.6331, allocations: 146 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6331, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6332, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.6332, allocations: 3.938 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.6334, allocations: 193.6 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.6334, allocations: 3.938 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.6335, allocations: 23.97 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.6336, allocations: 7.938 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.6336, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.6336, allocations: 3.984 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6336, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.634, allocations: 235.3 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.6341, allocations: 89 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.6341, allocations: 7.938 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.6342, allocations: 15.98 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.6343, allocations: 19.91 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.6343, allocations: 4 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.499e-05/0.6344, allocations: 91.27 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6344, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002261/0.6346, allocations: 19.94 kB / 1.022 GB, free: 12.74 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.0007372/0.6354, allocations: 0.7748 MB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003856/0.6358, allocations: 103.9 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6358, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.636, allocations: 67.88 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.6363, allocations: 11.94 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.6383, allocations: 1.535 MB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.6386, allocations: 0.6947 MB / 1.025 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.43e-05/0.6386, allocations: 15.98 kB / 1.025 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.809e-05/0.6387, allocations: 23.42 kB / 1.025 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.6387, allocations: 0 / 1.025 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/0.651, allocations: 2.35 MB / 1.028 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.6512, allocations: 201.6 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.201, allocations: 4.062 kB / 1.028 GB, free: 6.875 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