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.001906/0.001906, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003174/0.003174, allocations: 212 kB / 22.24 MB, free: 4.855 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.801 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.829/2.829, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] 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.002139/0.002139, allocations: 71.44 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3499, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002265/0.3521, allocations: 0.7527 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3534, allocations: 0.8861 MB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.3535, allocations: 3.938 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.3535, allocations: 7.875 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.402e-05/0.3536, allocations: 7.938 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.3538, allocations: 43.89 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.354, allocations: 87.81 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3541, allocations: 17.67 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.3542, allocations: 43.78 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.754e-05/0.3543, allocations: 43.81 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.3543, allocations: 8 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.834e-05/0.3543, allocations: 12 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.3544, allocations: 19.98 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.3544, allocations: 35.78 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.3546, allocations: 83.25 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3546, allocations: 3.984 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3546, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3546, allocations: 0 / 1.285 GB, free: 10.38 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.0006971/0.3553, allocations: 316 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.3554, allocations: 12.03 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.3554, allocations: 46.67 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.3555, allocations: 8.891 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.3556, allocations: 118.5 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3556, allocations: 384 / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.3557, allocations: 12.12 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.356, allocations: 101.6 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.356, allocations: 3.984 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.356, allocations: 0 / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.356, allocations: 4 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.3564, allocations: 103.8 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006425/0.357, allocations: 299.7 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006384/0.3577, allocations: 118.5 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.3579, allocations: 64.78 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.3579, allocations: 0 / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.358, allocations: 38.56 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.358, allocations: 0 / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007024/0.3587, allocations: 173.5 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.3587, allocations: 63.34 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3588, allocations: 125.8 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3589, allocations: 25.7 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.3589, allocations: 92.09 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.359, allocations: 23.81 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.359, allocations: 25.7 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3592, allocations: 318.8 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.3594, allocations: 47.89 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.3596, allocations: 47.95 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.3599, allocations: 96.77 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3599, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004289/0.3604, allocations: 137.6 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3604, allocations: 11.92 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3604, allocations: 0 / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.3604, allocations: 0 / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.3606, allocations: 23.97 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3606, allocations: 3.938 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.3607, allocations: 11.98 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.3607, allocations: 4 kB / 1.287 GB, free: 7.754 MB / 0.9825 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.0001173/0.3608, allocations: 117.8 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.3609, allocations: 7.953 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.3609, allocations: 20.3 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3609, allocations: 0 / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.3609, allocations: 7.938 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3609, allocations: 0 / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.3612, allocations: 160.7 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3612, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.3613, allocations: 23.97 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3613, allocations: 0 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3613, allocations: 15.92 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3613, allocations: 0 / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3613, allocations: 3.938 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005081/0.3618, allocations: 227.5 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.3619, allocations: 15.88 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3619, allocations: 0 / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.362, allocations: 15.98 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.3621, allocations: 23.91 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3621, allocations: 8 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.281e-05/0.3622, allocations: 95.64 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3622, allocations: 0 / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000247/0.3625, allocations: 12 kB / 1.288 GB, free: 6.941 MB / 0.9825 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.0009272/0.3634, allocations: 0.7715 MB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.3638, allocations: 104 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3638, allocations: 4 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.364, allocations: 64.02 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.3644, allocations: 15.88 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.3667, allocations: 1.537 MB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.151e-05/0.3668, allocations: 79.33 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.93e-05/0.3669, allocations: 8 kB / 1.29 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.367, allocations: 31.42 kB / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of SimCode: time 4.4e-07/0.367, allocations: 0 / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.3982, allocations: 3.349 MB / 1.293 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.87, allocations: 18.09 kB / 1.294 GB, free: 0.9883 MB / 0.9825 GB " [Timeout remaining time 288] (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.706757658161223]