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.0007926/0.0007926, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008021/0.0008021, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9132/0.9132, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.66/1.66, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 4.058e-06/4.058e-06, allocations: 4 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.863e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001521/0.001549, allocations: 0.7473 MB / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.002738, allocations: 0.886 MB / 0.9521 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.002781, allocations: 0 / 0.9521 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.002814, allocations: 11.86 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.002893, allocations: 11.88 kB / 0.9521 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.003063, allocations: 39.94 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.003165, allocations: 83.77 kB / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.003284, allocations: 23.91 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.151e-05/0.003375, allocations: 51.84 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.003442, allocations: 39.88 kB / 0.9524 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.003469, allocations: 8 kB / 0.9524 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.003479, allocations: 12 kB / 0.9524 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.003501, allocations: 15.98 kB / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.003531, allocations: 27.91 kB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.003652, allocations: 99.69 kB / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.003655, allocations: 0 / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.392e-06/0.003656, allocations: 0 / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.00366, allocations: 0 / 0.9525 GB, free: 1.395 MB / 0.9011 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.00043/0.00409, allocations: 314 kB / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.004135, allocations: 12.03 kB / 0.9528 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.004168, allocations: 38.75 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.004195, allocations: 8.891 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.974e-05/0.004295, allocations: 133.5 kB / 0.953 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.004307, allocations: 384 / 0.953 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.00432, allocations: 4.375 kB / 0.953 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.004521, allocations: 117.8 kB / 0.9531 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.004528, allocations: 0 / 0.9531 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.004538, allocations: 0 / 0.9531 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.004543, allocations: 4 kB / 0.9531 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.004732, allocations: 91.91 kB / 0.9532 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.005143, allocations: 303.8 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.005499, allocations: 114.6 kB / 0.9536 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.005601, allocations: 60.81 kB / 0.9537 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.005617, allocations: 0 / 0.9537 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.005636, allocations: 38.5 kB / 0.9537 GB, free: 48 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.005637, allocations: 0 / 0.9537 GB, free: 48 kB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0003933/0.00603, allocations: 177.5 kB / 0.9539 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.006065, allocations: 59.41 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.006143, allocations: 121.8 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.006156, allocations: 25.7 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.006202, allocations: 100.6 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.00622, allocations: 15.86 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.006257, allocations: 25.7 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.006337, allocations: 322.8 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.006437, allocations: 43.95 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.909e-05/0.006526, allocations: 55.95 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.006709, allocations: 101.2 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006711, allocations: 0 / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002261/0.006937, allocations: 141.5 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.006954, allocations: 14.44 kB / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.006959, allocations: 0 / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.006972, allocations: 0 / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-05/0.007067, allocations: 23.97 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.007073, allocations: 0 / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.007124, allocations: 11.98 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.007135, allocations: 11.92 kB / 0.9549 GB, free: 14.76 MB / 0.9167 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 6.966e-05/0.007204, allocations: 117.8 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.007222, allocations: 7.953 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.007245, allocations: 12.44 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.007248, allocations: 0 / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.007252, allocations: 0 / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.007255, allocations: 0 / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.007393, allocations: 168.6 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.007395, allocations: 0 / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.007466, allocations: 23.97 kB / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.007469, allocations: 0 / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.007478, allocations: 0 / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.00748, allocations: 11.94 kB / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.007481, allocations: 0 / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.007744, allocations: 243.3 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.007758, allocations: 7.953 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.007772, allocations: 0 / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.007838, allocations: 11.98 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.007903, allocations: 19.97 kB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.007909, allocations: 11.98 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.4e-05/0.007953, allocations: 91.27 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007953, allocations: 0 / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001567/0.00811, allocations: 19.94 kB / 0.9556 GB, free: 13.96 MB / 0.9167 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.0004471/0.008557, allocations: 0.7631 MB / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.008798, allocations: 103.9 kB / 0.9565 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.0088, allocations: 0 / 0.9565 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.008908, allocations: 67.88 kB / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.009166, allocations: 11.94 kB / 0.9565 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.0105, allocations: 1.537 MB / 0.958 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.726e-05/0.01056, allocations: 75.58 kB / 0.9581 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.145e-05/0.01061, allocations: 8 kB / 0.9581 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.777e-05/0.01069, allocations: 44.45 kB / 0.9582 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of SimCode: time 7.81e-07/0.01069, allocations: 0 / 0.9582 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.02906, allocations: 3.478 MB / 0.9616 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/6.791, allocations: 2.438 kB / 0.9616 GB, free: 7.891 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.861420889385045]