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.00189/0.00189, allocations: 109.7 kB / 16.45 MB, free: 6.508 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.002477/0.002477, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.582/1.582, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.294/3.294, allocations: 0.505 GB / 0.8066 GB, free: 23.08 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.00203/0.00203, allocations: 65.73 kB / 1.172 GB, free: 17.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3797, allocations: 180.2 MB / 1.348 GB, free: 9.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00225/0.3819, allocations: 0.7719 MB / 1.349 GB, free: 9.211 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3833, allocations: 0.8938 MB / 1.349 GB, free: 8.305 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/0.3834, allocations: 3.938 kB / 1.349 GB, free: 8.301 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.663e-05/0.3834, allocations: 7.875 kB / 1.349 GB, free: 8.293 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.3835, allocations: 15.88 kB / 1.349 GB, free: 8.277 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.3837, allocations: 39.94 kB / 1.349 GB, free: 8.238 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.3839, allocations: 79.83 kB / 1.35 GB, free: 8.16 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.384, allocations: 19.98 kB / 1.35 GB, free: 8.141 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.3841, allocations: 43.83 kB / 1.35 GB, free: 8.098 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3842, allocations: 47.83 kB / 1.35 GB, free: 8.051 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.3842, allocations: 8 kB / 1.35 GB, free: 8.043 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.181e-05/0.3843, allocations: 8 kB / 1.35 GB, free: 8.035 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.3843, allocations: 15.92 kB / 1.35 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.713e-05/0.3844, allocations: 51.77 kB / 1.35 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.3845, allocations: 83.95 kB / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3845, allocations: 0 / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3845, allocations: 7.875 kB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.3845, allocations: 0 / 1.35 GB, free: 7.879 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.0007657/0.3853, allocations: 395.1 kB / 1.35 GB, free: 7.445 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3854, allocations: 15.98 kB / 1.35 GB, free: 7.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.3854, allocations: 38.73 kB / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.3855, allocations: 12.89 kB / 1.35 GB, free: 7.371 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.3856, allocations: 168.3 kB / 1.35 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.3857, allocations: 8.375 kB / 1.35 GB, free: 7.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.3857, allocations: 8.125 kB / 1.35 GB, free: 7.152 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.386, allocations: 103.9 kB / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.386, allocations: 3.938 kB / 1.351 GB, free: 7.043 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.386, allocations: 7.984 kB / 1.351 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.386, allocations: 0 / 1.351 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.3864, allocations: 103.8 kB / 1.351 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.387, allocations: 348.6 kB / 1.351 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.3877, allocations: 114.6 kB / 1.351 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.3879, allocations: 60.8 kB / 1.351 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.3879, allocations: 0 / 1.351 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.388, allocations: 30.56 kB / 1.351 GB, free: 6.32 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.388, allocations: 0 / 1.351 GB, free: 6.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0007167/0.3887, allocations: 185.5 kB / 1.351 GB, free: 6.133 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.3887, allocations: 59.38 kB / 1.351 GB, free: 6.062 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.3889, allocations: 121.8 kB / 1.352 GB, free: 5.934 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.3889, allocations: 29.7 kB / 1.352 GB, free: 5.898 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.389, allocations: 96.08 kB / 1.352 GB, free: 5.801 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.389, allocations: 27.8 kB / 1.352 GB, free: 5.773 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.3891, allocations: 21.7 kB / 1.352 GB, free: 5.746 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3892, allocations: 318.8 kB / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.3894, allocations: 43.95 kB / 1.352 GB, free: 5.383 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.3896, allocations: 47.94 kB / 1.352 GB, free: 5.336 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.39, allocations: 101.2 kB / 1.352 GB, free: 5.234 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.39, allocations: 0 / 1.352 GB, free: 5.234 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004643/0.3905, allocations: 137.5 kB / 1.352 GB, free: 5.094 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3905, allocations: 4 kB / 1.352 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3905, allocations: 4 kB / 1.352 GB, free: 5.086 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3905, allocations: 4 kB / 1.352 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.3907, allocations: 27.97 kB / 1.352 GB, free: 5.055 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3907, allocations: 3.938 kB / 1.352 GB, free: 5.051 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.3908, allocations: 15.98 kB / 1.352 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.3908, allocations: 0 / 1.352 GB, free: 5.035 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.000119/0.391, allocations: 117.8 kB / 1.352 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.391, allocations: 7.953 kB / 1.352 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.391, allocations: 20.25 kB / 1.353 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.391, allocations: 0 / 1.353 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.391, allocations: 3.938 kB / 1.353 GB, free: 4.879 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.391, allocations: 4 kB / 1.353 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.3913, allocations: 197.6 kB / 1.353 GB, free: 4.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3913, allocations: 0 / 1.353 GB, free: 4.633 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.3915, allocations: 27.91 kB / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3915, allocations: 0 / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.3915, allocations: 8 kB / 1.353 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3915, allocations: 4 kB / 1.353 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3915, allocations: 3.938 kB / 1.353 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.392, allocations: 227.4 kB / 1.353 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.3921, allocations: 85 kB / 1.353 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.3921, allocations: 4 kB / 1.353 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.3923, allocations: 19.97 kB / 1.353 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.3923, allocations: 23.92 kB / 1.353 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.3923, allocations: 7.984 kB / 1.353 GB, free: 4.195 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.079e-05/0.3924, allocations: 95.64 kB / 1.353 GB, free: 4.102 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3924, allocations: 0 / 1.353 GB, free: 4.102 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002381/0.3927, allocations: 16 kB / 1.353 GB, free: 4.086 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.0008686/0.3935, allocations: 0.7709 MB / 1.354 GB, free: 3.289 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004532/0.394, allocations: 103.8 kB / 1.354 GB, free: 3.188 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.394, allocations: 0 / 1.354 GB, free: 3.188 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.3942, allocations: 63.94 kB / 1.354 GB, free: 3.125 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.3945, allocations: 7.938 kB / 1.354 GB, free: 3.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.3968, allocations: 1.533 MB / 1.356 GB, free: 1.5 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3972, allocations: 0.6924 MB / 1.356 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.907e-05/0.3972, allocations: 12 kB / 1.356 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.574e-05/0.3973, allocations: 27.36 kB / 1.356 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.3973, allocations: 0 / 1.356 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.423, allocations: 2.725 MB / 1.359 GB, free: 14.12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.483/8.906, allocations: 7.938 kB / 1.359 GB, free: 14.11 MB / 1.061 GB " [Timeout remaining time 291] (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: 16.062334964051843]