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.00155/0.00155, allocations: 108 kB / 15.61 MB, free: 152 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.001797/0.001797, allocations: 195 kB / 16.53 MB, free: 6.664 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.425/2.425, allocations: 437 MB / 0.7104 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 0.8694 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5698/0.5711, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002045/0.5732, allocations: 0.7733 MB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009257/0.5741, allocations: 0.8702 MB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.5742, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.5742, allocations: 11.81 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.479e-05/0.5743, allocations: 15.91 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.5745, allocations: 39.89 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.5746, allocations: 75.91 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.5747, allocations: 35.95 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.5748, allocations: 43.78 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/0.5749, allocations: 47.81 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.575, allocations: 12 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.906e-05/0.575, allocations: 8 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.575, allocations: 19.92 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.5751, allocations: 35.8 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.5752, allocations: 87.7 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5752, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5752, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.5752, allocations: 0 / 1.019 GB, free: 432 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.0005799/0.5758, allocations: 397.6 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.5758, allocations: 8.031 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.5759, allocations: 38.75 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.5759, allocations: 12.83 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.5761, allocations: 184.1 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.5761, allocations: 4.375 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.5761, allocations: 384 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.5764, allocations: 109.5 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5764, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.5764, allocations: 4 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.5764, allocations: 4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.5768, allocations: 95.89 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.5773, allocations: 344.5 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006084/0.5779, allocations: 118.6 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.5781, allocations: 60.78 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.5782, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.5782, allocations: 38.5 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.5782, allocations: 4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000657/0.5789, allocations: 169.7 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.5789, allocations: 63.41 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.579, allocations: 121.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.579, allocations: 29.7 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.5791, allocations: 92.06 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.5791, allocations: 23.66 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.5792, allocations: 25.7 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5793, allocations: 314.8 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.5795, allocations: 47.95 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.5797, allocations: 59.92 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.58, allocations: 96.78 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.58, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003875/0.5804, allocations: 137.5 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.5804, allocations: 9.875 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.5804, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5805, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.5806, allocations: 23.97 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.5806, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.5808, allocations: 23.86 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.5808, allocations: 3.984 kB / 1.022 GB, free: 13.57 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.528e-05/0.5809, allocations: 113.8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.5809, allocations: 7.906 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.5814, allocations: 154 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5814, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5814, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5814, allocations: 3.938 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.5816, allocations: 205.6 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5816, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.5818, allocations: 31.84 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5818, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.5818, allocations: 3.984 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5818, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5818, allocations: 4 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004392/0.5823, allocations: 235.3 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.5823, allocations: 89.02 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.5823, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.5825, allocations: 19.92 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.5826, allocations: 27.91 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.5826, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.5826, allocations: 95.27 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5827, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002274/0.5829, allocations: 19.94 kB / 1.023 GB, free: 12.48 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.0007428/0.5836, allocations: 0.7709 MB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004306/0.5841, allocations: 112.3 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5841, allocations: 4 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.5843, allocations: 55.95 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.5846, allocations: 16.23 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.5866, allocations: 1.528 MB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.5868, allocations: 0.6944 MB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.925e-05/0.5869, allocations: 8 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.063e-05/0.587, allocations: 35.41 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.587, allocations: 0 / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.6049, allocations: 2.649 MB / 1.029 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.099/7.704, allocations: 11.22 kB / 1.029 GB, free: 6.543 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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