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.007201/0.007201, allocations: 98.05 kB / 15.73 MB, free: 6.004 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.001855/0.001855, allocations: 197.6 kB / 16.67 MB, free: 5.922 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.843/2.843, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.91 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2803, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001863/0.2822, allocations: 0.7772 MB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2832, allocations: 0.8507 MB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.2833, allocations: 0 / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.2834, allocations: 11.86 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.2834, allocations: 15.8 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.2836, allocations: 39.95 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.2837, allocations: 87.81 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2839, allocations: 27.97 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.552e-05/0.284, allocations: 43.84 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.597e-05/0.2841, allocations: 47.81 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.2841, allocations: 8 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.953e-05/0.2841, allocations: 8 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.2842, allocations: 19.92 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.2842, allocations: 31.8 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.2844, allocations: 99.52 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2844, allocations: 0 / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2844, allocations: 0 / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.2844, allocations: 4 kB / 1.222 GB, free: 12.2 MB / 0.9825 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.0006591/0.2851, allocations: 399.1 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2851, allocations: 8.031 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.2851, allocations: 30.75 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.2852, allocations: 16.89 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.2853, allocations: 180.3 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.2854, allocations: 384 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.2854, allocations: 16.12 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.2857, allocations: 108.8 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2857, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2858, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.2858, allocations: 4 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.2862, allocations: 91.91 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.2867, allocations: 340.7 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.2874, allocations: 130.5 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.2876, allocations: 60.81 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.2877, allocations: 3.984 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.2877, allocations: 34.56 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2877, allocations: 0 / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007093/0.2884, allocations: 185.4 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.2885, allocations: 51.41 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.2886, allocations: 129.7 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.2886, allocations: 29.7 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.2887, allocations: 92.09 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.2887, allocations: 23.84 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.2888, allocations: 21.72 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2889, allocations: 318.8 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.2891, allocations: 47.95 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.2893, allocations: 47.95 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.2897, allocations: 96.75 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2897, allocations: 8 kB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004481/0.2902, allocations: 133.5 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2902, allocations: 4 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2902, allocations: 4 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.2902, allocations: 0 / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.2904, allocations: 23.97 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2904, allocations: 7.938 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.2905, allocations: 23.91 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2906, allocations: 3.938 kB / 1.225 GB, free: 9.344 MB / 0.9825 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 9.223e-05/0.2907, allocations: 113.8 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.2907, allocations: 7.953 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.2907, allocations: 8.375 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.2908, allocations: 7.984 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2908, allocations: 7.875 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2908, allocations: 4 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.291, allocations: 197.6 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.291, allocations: 0 / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.2912, allocations: 27.91 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2912, allocations: 4 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.2912, allocations: 3.984 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2912, allocations: 4 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2912, allocations: 3.938 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.2917, allocations: 235.4 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.2918, allocations: 85.06 kB / 1.225 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.2918, allocations: 0 / 1.225 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.292, allocations: 15.98 kB / 1.225 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.2921, allocations: 23.91 kB / 1.225 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2921, allocations: 8 kB / 1.225 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.707e-05/0.2922, allocations: 91.27 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2922, allocations: 3.938 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002353/0.2924, allocations: 12 kB / 1.226 GB, free: 8.395 MB / 0.9825 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.0008346/0.2932, allocations: 0.7682 MB / 1.226 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.2937, allocations: 115.9 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2937, allocations: 0 / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.2939, allocations: 63.95 kB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.2943, allocations: 17.89 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.2965, allocations: 1.537 MB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.2968, allocations: 0.6923 MB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.047e-05/0.2969, allocations: 15.98 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.297, allocations: 31.42 kB / 1.229 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.297, allocations: 192 / 1.229 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.3199, allocations: 2.689 MB / 1.231 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/8.003, allocations: 13.41 kB / 1.231 GB, free: 2.418 MB / 0.9825 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