Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001394/0.001394, allocations: 103.1 kB / 16.45 MB, free: 6.504 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.001533/0.001533, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.507/1.507, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.809/2.809, allocations: 476.7 MB / 0.7672 GB, free: 5.234 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.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.002017/0.002017, allocations: 67.91 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8849/0.8869, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002102/0.889, allocations: 0.7834 MB / 1.279 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.8901, allocations: 0.9055 MB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.8902, allocations: 0 / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.8902, allocations: 3.938 kB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.8903, allocations: 11.86 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.8905, allocations: 43.89 kB / 1.28 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.8906, allocations: 83.83 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.8907, allocations: 31.91 kB / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.929e-05/0.8908, allocations: 35.84 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.8909, allocations: 51.81 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.8909, allocations: 8 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.808e-05/0.891, allocations: 8 kB / 1.28 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.891, allocations: 19.92 kB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.891, allocations: 35.8 kB / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.8912, allocations: 89.47 kB / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8912, allocations: 0 / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8912, allocations: 0 / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.8912, allocations: 4 kB / 1.28 GB, free: 11.27 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.0006884/0.8919, allocations: 395.1 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.8919, allocations: 8.031 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.586e-05/0.892, allocations: 42.73 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.892, allocations: 8.891 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.8922, allocations: 176.2 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.8922, allocations: 8.375 kB / 1.281 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.8922, allocations: 12.06 kB / 1.281 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.8926, allocations: 105.4 kB / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.8926, allocations: 4 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.8926, allocations: 4 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.8926, allocations: 0 / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.893, allocations: 95.89 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.8936, allocations: 352.6 kB / 1.281 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.8942, allocations: 122.5 kB / 1.282 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.8944, allocations: 52.81 kB / 1.282 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.8945, allocations: 4 kB / 1.282 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.8945, allocations: 34.56 kB / 1.282 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.8945, allocations: 0 / 1.282 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007267/0.8952, allocations: 177.5 kB / 1.282 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.8953, allocations: 59.39 kB / 1.282 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.8954, allocations: 121.8 kB / 1.282 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.8954, allocations: 25.7 kB / 1.282 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.8955, allocations: 100.1 kB / 1.282 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.8955, allocations: 7.906 kB / 1.282 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.8955, allocations: 29.64 kB / 1.282 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8957, allocations: 318.8 kB / 1.282 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.8959, allocations: 51.94 kB / 1.283 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.8961, allocations: 43.95 kB / 1.283 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.8964, allocations: 96.78 kB / 1.283 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8964, allocations: 4 kB / 1.283 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004427/0.8969, allocations: 141.5 kB / 1.283 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.8969, allocations: 4 kB / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.8969, allocations: 0 / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.8969, allocations: 0 / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.8971, allocations: 27.91 kB / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.8971, allocations: 8.422 kB / 1.283 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.8972, allocations: 19.92 kB / 1.283 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.8972, allocations: 7.984 kB / 1.283 GB, free: 8.43 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,max1.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.665e-05/0.8973, allocations: 117.8 kB / 1.283 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.8974, allocations: 3.953 kB / 1.283 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.8979, allocations: 161.9 kB / 1.283 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.8979, allocations: 0 / 1.283 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.8979, allocations: 7.922 kB / 1.283 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.8979, allocations: 3.984 kB / 1.283 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.8981, allocations: 201.5 kB / 1.283 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8981, allocations: 0 / 1.283 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.8983, allocations: 23.97 kB / 1.283 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8983, allocations: 0 / 1.283 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.8983, allocations: 3.984 kB / 1.283 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.8983, allocations: 4 kB / 1.283 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.8983, allocations: 7.938 kB / 1.283 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/0.8988, allocations: 227.5 kB / 1.284 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.8989, allocations: 81.06 kB / 1.284 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.8989, allocations: 0 / 1.284 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.899, allocations: 15.98 kB / 1.284 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.8991, allocations: 27.91 kB / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.8991, allocations: 0 / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.436e-05/0.8992, allocations: 103.2 kB / 1.284 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8992, allocations: 0 / 1.284 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002387/0.8994, allocations: 19.89 kB / 1.284 GB, free: 7.332 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 (max1.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.0008333/0.9003, allocations: 0.7637 MB / 1.285 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.9007, allocations: 115.8 kB / 1.285 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9007, allocations: 0 / 1.285 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.9009, allocations: 51.95 kB / 1.285 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.9012, allocations: 15.92 kB / 1.285 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.9035, allocations: 1.548 MB / 1.286 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.9039, allocations: 0.6942 MB / 1.287 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.369e-05/0.9039, allocations: 12 kB / 1.287 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.168e-05/0.904, allocations: 31.42 kB / 1.287 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.904, allocations: 0 / 1.287 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.9308, allocations: 2.7 MB / 1.29 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.909, allocations: 13.25 kB / 1.29 GB, free: 1.352 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_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_Max.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable max1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! Error: Could not read variable max1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! Error: Could not read variable max1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.147004446946084]