Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_10_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.007681/0.007687, allocations: 97.67 kB / 15.73 MB, free: 6.043 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.001765/0.001765, allocations: 195.9 kB / 16.68 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.54/2.54, allocations: 437 MB / 0.7105 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2761, allocations: 151.6 MB / 1.166 GB, free: 7.367 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002/0.2782, allocations: 0.7795 MB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2793, allocations: 0.8702 MB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.924e-05/0.2793, allocations: 4 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.2794, allocations: 7.875 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.686e-05/0.2795, allocations: 11.86 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.2797, allocations: 35.95 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.2798, allocations: 87.77 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.2799, allocations: 31.97 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.33e-05/0.28, allocations: 31.91 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.788e-05/0.2801, allocations: 51.81 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.2802, allocations: 8 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.2802, allocations: 8 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.2802, allocations: 19.92 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.2803, allocations: 39.78 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.2805, allocations: 79.95 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.2805, allocations: 0 / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2805, allocations: 11.88 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.2805, allocations: 0 / 1.168 GB, free: 5.277 MB / 0.92 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.0006761/0.2812, allocations: 395.1 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2812, allocations: 12.03 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.2813, allocations: 38.73 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.2813, allocations: 8.891 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.2815, allocations: 176.3 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.2815, allocations: 12.38 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.2815, allocations: 8.125 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.2818, allocations: 101.6 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2819, allocations: 3.938 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2819, allocations: 0 / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2819, allocations: 3.984 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.2823, allocations: 99.91 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005844/0.2829, allocations: 344.6 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006/0.2835, allocations: 118.5 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.2837, allocations: 60.81 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.2837, allocations: 3.984 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.2837, allocations: 30.56 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.2837, allocations: 0 / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006445/0.2844, allocations: 189.4 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.2844, allocations: 51.41 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.2845, allocations: 126.1 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2846, allocations: 25.7 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.2846, allocations: 100 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.2846, allocations: 23.8 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.2847, allocations: 25.64 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2848, allocations: 326.8 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.285, allocations: 43.95 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.2852, allocations: 43.95 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.2855, allocations: 100.8 kB / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2855, allocations: 0 / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004184/0.2859, allocations: 141.5 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.286, allocations: 4 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.286, allocations: 4 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.286, allocations: 4 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.2862, allocations: 27.97 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.2862, allocations: 4.484 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2863, allocations: 11.98 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.2863, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 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.0001171/0.2865, allocations: 117.8 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.2865, allocations: 7.953 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.2865, allocations: 8.375 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2866, allocations: 0 / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.2866, allocations: 7.938 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.2866, allocations: 4 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.2868, allocations: 193.6 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2868, allocations: 0 / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.287, allocations: 31.91 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.287, allocations: 3.984 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.287, allocations: 4 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.287, allocations: 0 / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2871, allocations: 3.938 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.2876, allocations: 239.4 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.2876, allocations: 85 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.2877, allocations: 11.98 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.2878, allocations: 7.984 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.2879, allocations: 27.92 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.2879, allocations: 7.984 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.767e-05/0.288, allocations: 99.25 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.288, allocations: 0 / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002573/0.2883, allocations: 16 kB / 1.172 GB, free: 1.477 MB / 0.92 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.0008504/0.2891, allocations: 0.767 MB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004272/0.2896, allocations: 107.8 kB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2896, allocations: 3.938 kB / 1.172 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.2898, allocations: 67.94 kB / 1.173 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.2901, allocations: 14.28 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.2923, allocations: 1.529 MB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.2926, allocations: 0.6885 MB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.44e-05/0.2926, allocations: 12 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.93e-05/0.2927, allocations: 35.34 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of SimCode: time 6.92e-07/0.2927, allocations: 0 / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.3114, allocations: 2.698 MB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.552/7.863, allocations: 16.36 kB / 1.177 GB, free: 11.5 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_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_Add.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches