Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001561/0.001561, allocations: 114.3 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.00152/0.00152, allocations: 215.1 kB / 22.26 MB, free: 5.082 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.284/3.284, allocations: 0.49 GB / 0.7951 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_12_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.002945/0.002945, allocations: 67.11 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4075, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.0022/0.4097, allocations: 0.7787 MB / 1.327 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.4108, allocations: 0.9055 MB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.117e-05/0.4109, allocations: 4 kB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.72e-05/0.4109, allocations: 3.938 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.474e-05/0.411, allocations: 11.86 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.4112, allocations: 39.89 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.4113, allocations: 83.83 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.4114, allocations: 16.27 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.4115, allocations: 47.83 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.4116, allocations: 47.83 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.4117, allocations: 8 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/0.4117, allocations: 8 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.4117, allocations: 27.91 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.4118, allocations: 31.8 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.4119, allocations: 87.66 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4119, allocations: 4 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4119, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.4119, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 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.0006486/0.4126, allocations: 322 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4126, allocations: 8.031 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.4127, allocations: 42.75 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.4127, allocations: 8.891 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.4129, allocations: 126.3 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.4129, allocations: 4.375 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.4129, allocations: 12.12 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.4132, allocations: 106.3 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4132, allocations: 4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4132, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4132, allocations: 4 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.4136, allocations: 95.91 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.4141, allocations: 307.7 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/0.4148, allocations: 126.5 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.415, allocations: 52.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.415, allocations: 4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.415, allocations: 34.56 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.415, allocations: 4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007008/0.4157, allocations: 185.5 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.4157, allocations: 55.34 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.4159, allocations: 129.7 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.4159, allocations: 25.7 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.4159, allocations: 96.09 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.416, allocations: 19.83 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.416, allocations: 29.64 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4162, allocations: 314.8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.4163, allocations: 43.95 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.4165, allocations: 51.95 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.4168, allocations: 96.77 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4168, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003929/0.4172, allocations: 133.6 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4172, allocations: 11.98 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4172, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4173, allocations: 3.938 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.4174, allocations: 27.91 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.4174, allocations: 3.938 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.4176, allocations: 15.94 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.4176, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 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.519e-05/0.4177, allocations: 118.4 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.4177, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.4177, allocations: 20.36 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4177, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4177, allocations: 3.938 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4177, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.418, allocations: 176.6 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.418, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.4181, allocations: 23.97 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4181, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.4182, allocations: 8 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.4182, allocations: 4 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4182, allocations: 3.938 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.4186, allocations: 235.3 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.4187, allocations: 7.922 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.4187, allocations: 8 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4188, allocations: 11.97 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.4189, allocations: 23.92 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.4189, allocations: 3.984 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.724e-05/0.419, allocations: 99.27 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.419, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002462/0.4192, allocations: 15.95 kB / 1.331 GB, free: 12.39 MB / 1.029 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.0008651/0.4201, allocations: 0.7709 MB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.4205, allocations: 108.6 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4205, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.4207, allocations: 59.88 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.4211, allocations: 15.53 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.4233, allocations: 1.536 MB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.4236, allocations: 0.69 MB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.661e-05/0.4237, allocations: 12 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.4238, allocations: 35.41 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4238, allocations: 0 / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.4541, allocations: 2.841 MB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.16, allocations: 4.312 kB / 1.337 GB, free: 6.332 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.309804886001075]