Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001631/0.001631, 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.001982/0.001982, allocations: 208.3 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.678/1.678, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.387/3.387, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_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.002133/0.002133, allocations: 68.28 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.407, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002115/0.4091, allocations: 0.7835 MB / 1.354 GB, free: 7.652 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.4103, allocations: 0.8977 MB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.4103, allocations: 0 / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.4104, allocations: 11.86 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.575e-05/0.4105, allocations: 11.88 kB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.4106, allocations: 35.94 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.4108, allocations: 83.83 kB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.4109, allocations: 20.27 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.411, allocations: 39.84 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.427e-05/0.4111, allocations: 47.83 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.4111, allocations: 12 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.4111, allocations: 8 kB / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/0.4112, allocations: 23.91 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.4112, allocations: 39.8 kB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.4114, allocations: 91.59 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4114, allocations: 0 / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4114, allocations: 0 / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4114, allocations: 0 / 1.355 GB, free: 6.324 MB / 1.045 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.000621/0.412, allocations: 323.8 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.412, allocations: 12.03 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.4121, allocations: 34.75 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.4121, allocations: 8.891 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.4122, allocations: 122.4 kB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4122, allocations: 4.375 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.4123, allocations: 8.125 kB / 1.355 GB, free: 5.762 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.4126, allocations: 105.5 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.4126, allocations: 4 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4126, allocations: 4 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.4126, allocations: 7.938 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.413, allocations: 91.89 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.4135, allocations: 315.7 kB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/0.4141, allocations: 114.6 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.4143, allocations: 56.81 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.4143, allocations: 0 / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.4143, allocations: 38.5 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.4143, allocations: 4 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006573/0.415, allocations: 185.4 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.415, allocations: 51.41 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.4151, allocations: 129.8 kB / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4152, allocations: 25.7 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.4152, allocations: 96.08 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.4152, allocations: 23.8 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.4153, allocations: 25.7 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4154, allocations: 318.8 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.4156, allocations: 43.95 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.4158, allocations: 47.95 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.4161, allocations: 97.23 kB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4161, allocations: 0 / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004162/0.4165, allocations: 149.5 kB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.4165, allocations: 6.031 kB / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4166, allocations: 0 / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4166, allocations: 4 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.4167, allocations: 23.97 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4167, allocations: 3.938 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.4169, allocations: 11.98 kB / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.4169, allocations: 3.984 kB / 1.357 GB, free: 3.684 MB / 1.045 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.000103/0.417, allocations: 121.8 kB / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.417, allocations: 11.89 kB / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.417, allocations: 8.375 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.417, allocations: 0 / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.417, allocations: 7.938 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.417, allocations: 7.938 kB / 1.357 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.4173, allocations: 168.7 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4173, allocations: 0 / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.4174, allocations: 27.97 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4174, allocations: 4 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.4174, allocations: 0 / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4174, allocations: 0 / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.4174, allocations: 7.922 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.4179, allocations: 235.4 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.4179, allocations: 19.88 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.4179, allocations: 0 / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4181, allocations: 11.98 kB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.4182, allocations: 23.91 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.4182, allocations: 7.938 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.326e-05/0.4182, allocations: 95.64 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4182, allocations: 3.938 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002409/0.4185, allocations: 16 kB / 1.358 GB, free: 2.852 MB / 1.045 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.0007726/0.4192, allocations: 0.7701 MB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004046/0.4197, allocations: 107.8 kB / 1.359 GB, free: 1.953 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4197, allocations: 0 / 1.359 GB, free: 1.953 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.4199, allocations: 55.95 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.4202, allocations: 15.92 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.4224, allocations: 1.526 MB / 1.36 GB, free: 284 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.4227, allocations: 0.6963 MB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.639e-05/0.4228, allocations: 7.984 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/0.4229, allocations: 35.42 kB / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.4229, allocations: 0 / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.4566, allocations: 2.855 MB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.22, allocations: 3.938 kB / 1.364 GB, free: 12.79 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.477961293000135]