Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_9_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.01014/0.01014, allocations: 104.3 kB / 15.73 MB, free: 5.992 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.002657/0.002657, allocations: 187 kB / 16.67 MB, free: 5.93 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.69 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3235, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002729/0.3263, allocations: 0.7677 MB / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3275, allocations: 0.8662 MB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.3276, allocations: 4 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.175e-05/0.3277, allocations: 11.86 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.816e-05/0.3278, allocations: 3.938 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.328, allocations: 43.89 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.3281, allocations: 79.88 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3282, allocations: 27.98 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.3283, allocations: 43.78 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.821e-05/0.3284, allocations: 51.81 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.3285, allocations: 8 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.3285, allocations: 8 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.3285, allocations: 15.92 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.3286, allocations: 39.78 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.3287, allocations: 83.84 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3287, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3288, allocations: 4 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.3288, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 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.0006461/0.3294, allocations: 394.8 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3295, allocations: 12.03 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.3295, allocations: 30.75 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.3296, allocations: 8.844 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.3297, allocations: 184.2 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3297, allocations: 4.375 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3298, allocations: 16.12 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.3301, allocations: 103.1 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3301, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3301, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3302, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.3306, allocations: 107.8 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.3312, allocations: 340.6 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.3319, allocations: 122.5 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.3321, allocations: 64.81 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3321, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.3321, allocations: 34.55 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3321, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007007/0.3329, allocations: 185.4 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3329, allocations: 51.41 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.997e-05/0.333, allocations: 125.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.333, allocations: 25.7 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.3331, allocations: 99.98 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.3331, allocations: 19.78 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.3332, allocations: 29.64 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3333, allocations: 318.8 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.3335, allocations: 43.95 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.3337, allocations: 47.95 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.3341, allocations: 101.2 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3341, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000436/0.3345, allocations: 133.5 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3346, allocations: 4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3346, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3346, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.3348, allocations: 27.91 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3348, allocations: 15.92 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.3349, allocations: 15.92 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.335, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 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.067e-05/0.335, allocations: 113.8 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.3351, allocations: 7.906 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.3351, allocations: 16.3 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3351, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3351, allocations: 3.938 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3351, allocations: 8 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.3354, allocations: 197.6 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3354, allocations: 3.984 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.3355, allocations: 23.97 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3355, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3356, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3356, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3356, allocations: 3.938 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.3361, allocations: 239.3 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.3361, allocations: 81.02 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.3361, allocations: 4 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.3363, allocations: 7.984 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.3364, allocations: 27.91 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3364, allocations: 12 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.169e-05/0.3364, allocations: 95.64 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3365, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002474/0.3367, allocations: 12 kB / 1.093 GB, free: 12.14 MB / 0.8575 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.0007971/0.3375, allocations: 0.7786 MB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004445/0.338, allocations: 103.9 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.338, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.3382, allocations: 71.88 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3386, allocations: 7.938 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.3408, allocations: 1.539 MB / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.341, allocations: 0.6924 MB / 1.096 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.268e-05/0.3411, allocations: 11.75 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.98e-05/0.3412, allocations: 27.42 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3412, allocations: 0 / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.3621, allocations: 2.699 MB / 1.099 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.146, allocations: 6.125 kB / 1.099 GB, free: 6.164 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches