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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002335/0.002335, allocations: 209.6 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.944/2.944, allocations: 476.7 MB / 0.7707 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 73.45 kB / 1.117 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3588, allocations: 169.9 MB / 1.283 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00213/0.3609, allocations: 0.7913 MB / 1.284 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.362, allocations: 0.8899 MB / 1.285 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.3621, allocations: 4 kB / 1.285 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.3621, allocations: 7.875 kB / 1.285 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.838e-05/0.3622, allocations: 7.922 kB / 1.285 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.3624, allocations: 47.89 kB / 1.285 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3625, allocations: 83.88 kB / 1.285 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3626, allocations: 15.98 kB / 1.285 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.07e-05/0.3627, allocations: 43.8 kB / 1.285 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.3628, allocations: 47.81 kB / 1.285 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.3628, allocations: 8 kB / 1.285 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.659e-05/0.3629, allocations: 8 kB / 1.285 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.3629, allocations: 23.92 kB / 1.285 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.3629, allocations: 35.78 kB / 1.285 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.3631, allocations: 83.94 kB / 1.285 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3631, allocations: 0 / 1.285 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.929e-06/0.3631, allocations: 8 kB / 1.285 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3631, allocations: 0 / 1.285 GB, free: 1.703 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.0006433/0.3638, allocations: 322 kB / 1.286 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3638, allocations: 8.031 kB / 1.286 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.3638, allocations: 46.67 kB / 1.286 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.3639, allocations: 8.891 kB / 1.286 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.364, allocations: 110.5 kB / 1.286 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.3641, allocations: 8.375 kB / 1.286 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.3641, allocations: 11.94 kB / 1.286 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.3644, allocations: 99.73 kB / 1.286 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3644, allocations: 0 / 1.286 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3644, allocations: 8 kB / 1.286 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3644, allocations: 3.938 kB / 1.286 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.3648, allocations: 103.8 kB / 1.286 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005371/0.3653, allocations: 315.7 kB / 1.286 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/0.3659, allocations: 122.5 kB / 1.287 GB, free: 452 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.3661, allocations: 56.81 kB / 1.287 GB, free: 392 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.3661, allocations: 4 kB / 1.287 GB, free: 388 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.3662, allocations: 30.56 kB / 1.287 GB, free: 348 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3662, allocations: 0 / 1.287 GB, free: 348 kB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006527/0.3668, allocations: 189.5 kB / 1.287 GB, free: 152 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.3669, allocations: 55.34 kB / 1.287 GB, free: 84 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.367, allocations: 129.7 kB / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.367, allocations: 29.7 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.3671, allocations: 96.03 kB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.3671, allocations: 19.83 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.3671, allocations: 21.72 kB / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3673, allocations: 322.8 kB / 1.287 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.3675, allocations: 43.95 kB / 1.288 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.3676, allocations: 51.94 kB / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.368, allocations: 100.8 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.368, allocations: 0 / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003946/0.3684, allocations: 133.6 kB / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3684, allocations: 4 kB / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3684, allocations: 0 / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3684, allocations: 3.938 kB / 1.288 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.3686, allocations: 31.97 kB / 1.288 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.3686, allocations: 3.938 kB / 1.288 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.3687, allocations: 15.97 kB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3687, allocations: 4 kB / 1.288 GB, free: 15.05 MB / 0.9981 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.714e-05/0.3688, allocations: 113.8 kB / 1.288 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.3689, allocations: 7.891 kB / 1.288 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.3689, allocations: 12.38 kB / 1.288 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3689, allocations: 0 / 1.288 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3689, allocations: 11.92 kB / 1.288 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3689, allocations: 0 / 1.288 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.3691, allocations: 172.6 kB / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3691, allocations: 0 / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.3693, allocations: 27.97 kB / 1.288 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3693, allocations: 0 / 1.288 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3693, allocations: 3.984 kB / 1.288 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3693, allocations: 3.938 kB / 1.288 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/0.3693, allocations: 7.938 kB / 1.288 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004685/0.3698, allocations: 227.5 kB / 1.288 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.3698, allocations: 7.891 kB / 1.288 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.3698, allocations: 4 kB / 1.288 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.37, allocations: 11.98 kB / 1.288 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.37, allocations: 31.91 kB / 1.288 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.37, allocations: 0 / 1.288 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.491e-05/0.3701, allocations: 95.27 kB / 1.289 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3701, allocations: 0 / 1.289 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002334/0.3703, allocations: 16 kB / 1.289 GB, free: 14.24 MB / 0.9981 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.0007865/0.3711, allocations: 0.7739 MB / 1.289 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.3716, allocations: 100.6 kB / 1.289 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3716, allocations: 7.938 kB / 1.289 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.3718, allocations: 67.88 kB / 1.289 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3721, allocations: 8.25 kB / 1.289 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.3744, allocations: 1.543 MB / 1.291 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.3747, allocations: 0.6885 MB / 1.292 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.393e-05/0.3747, allocations: 12 kB / 1.292 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.144e-05/0.3748, allocations: 31.42 kB / 1.292 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.3748, allocations: 0 / 1.292 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.4046, allocations: 2.843 MB / 1.294 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.16, allocations: 4.062 kB / 1.294 GB, free: 8.168 MB / 0.9981 GB " [Timeout remaining time 289] (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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable add1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.194958416999725]