Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.001967/0.001967, 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.002128/0.002128, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.413/1.413, 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 11.1.0-maint.11.x/package.mo): time 2.864/2.864, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.09 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2661, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002126/0.2682, allocations: 0.7835 MB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2694, allocations: 0.8641 MB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.2694, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.2695, allocations: 11.86 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.498e-05/0.2696, allocations: 7.938 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.2697, allocations: 39.89 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.2698, allocations: 83.88 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.27, allocations: 23.98 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.297e-05/0.2701, allocations: 43.8 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.653e-05/0.2702, allocations: 47.81 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.2702, allocations: 8 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.899e-05/0.2702, allocations: 8 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/0.2702, allocations: 23.91 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.2703, allocations: 31.8 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.2704, allocations: 91.72 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2705, allocations: 3.984 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2705, allocations: 0 / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.2705, allocations: 0 / 1.066 GB, free: 12.13 MB / 0.8262 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.0006484/0.2711, allocations: 387.5 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2712, allocations: 12.03 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.2712, allocations: 38.73 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.2713, allocations: 8.844 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.2714, allocations: 180.2 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.2715, allocations: 4.375 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.2715, allocations: 8.375 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.2718, allocations: 109.5 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2718, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.2719, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.2719, allocations: 4 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.2723, allocations: 99.91 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/0.2728, allocations: 344.6 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006496/0.2735, allocations: 122.6 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.2737, allocations: 60.8 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.2737, allocations: 0 / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.2738, allocations: 42.5 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.2738, allocations: 3.938 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0007047/0.2745, allocations: 177.5 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.2745, allocations: 55.41 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.2747, allocations: 121.7 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.2747, allocations: 33.7 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.2748, allocations: 99.97 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.2748, allocations: 15.81 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.2749, allocations: 25.7 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.275, allocations: 314.8 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.2752, allocations: 47.95 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.2754, allocations: 51.94 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.2758, allocations: 96.72 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2758, allocations: 0 / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004535/0.2763, allocations: 137.5 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2763, allocations: 8 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2763, allocations: 0 / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2763, allocations: 0 / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.2765, allocations: 23.97 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2765, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.2767, allocations: 19.92 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.2767, allocations: 3.984 kB / 1.069 GB, free: 9.297 MB / 0.8262 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,add1.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.0001001/0.2768, allocations: 121.8 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.2768, allocations: 7.906 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.2768, allocations: 8.375 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2769, allocations: 4 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2769, allocations: 0 / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2769, allocations: 3.938 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.2771, allocations: 201.5 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2771, allocations: 0 / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.2773, allocations: 23.97 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.2773, allocations: 11.98 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.2773, allocations: 4 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2773, allocations: 0 / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2773, allocations: 8.469 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.2779, allocations: 235.2 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.2779, allocations: 93 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.2779, allocations: 4 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2781, allocations: 15.98 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/0.2782, allocations: 23.91 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2782, allocations: 4 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.823e-05/0.2783, allocations: 91.27 kB / 1.069 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2783, allocations: 3.938 kB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002412/0.2785, allocations: 12 kB / 1.069 GB, free: 8.344 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 (add1.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.0008622/0.2794, allocations: 0.767 MB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004503/0.2799, allocations: 115.8 kB / 1.07 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2799, allocations: 0 / 1.07 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.2801, allocations: 63.89 kB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.2804, allocations: 14.11 kB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.2827, allocations: 1.534 MB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.283, allocations: 0.6885 MB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.006e-05/0.2831, allocations: 12 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.2832, allocations: 31.42 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2832, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.3065, allocations: 2.649 MB / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.88, allocations: 11.34 kB / 1.075 GB, free: 2.406 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches